Unstable v0.1300.0.0 (February 19th 2021)
This commit is contained in:
@@ -240,8 +240,6 @@ namespace Barotrauma
|
||||
{
|
||||
if (GameMain.Server == null) { return; }
|
||||
|
||||
int initialLength = msg.LengthBytes;
|
||||
|
||||
msg.Write(Prefab.OriginalName);
|
||||
msg.Write(Prefab.Identifier);
|
||||
msg.Write(Description != prefab.Description);
|
||||
@@ -294,11 +292,6 @@ namespace Barotrauma
|
||||
{
|
||||
msg.Write(nameTag.WrittenName ?? "");
|
||||
}
|
||||
|
||||
if (msg.LengthBytes - initialLength >= 255)
|
||||
{
|
||||
DebugConsole.ThrowError($"Too much data in an item spawn message. Item: \"{Prefab.Identifier}\", msg bytes: {(msg.LengthBytes - initialLength)}, description changed: {(Description != prefab.Description)}, description: {Description}, tags changed: {tagsChanged}, tags: {Tags}");
|
||||
}
|
||||
}
|
||||
|
||||
partial void UpdateNetPosition(float deltaTime)
|
||||
|
||||
Reference in New Issue
Block a user