This commit is contained in:
2025-09-14 10:07:23 +06:00
parent 55700c6939
commit 9cfae9c807
4 changed files with 51 additions and 5 deletions

View File

@@ -868,9 +868,11 @@ PreparedNodeState::PreparedNodeState(const std::string_view modid, const sol::ta
}
PreparedNodeState::PreparedNodeState(const std::u8string& data) {
PreparedNodeState::PreparedNodeState(const std::u8string_view data) {
Net::LinearReader lr(data);
lr.read<uint16_t>();
uint16_t size;
lr >> size;