More server-side EntityEvent error logging, Item.ServerWrite does some error checks and writes NetEntityEvent.Type.Invalid as the type of the event instead of attempting to write a potentially unreadable message.

This commit is contained in:
Joonas Rikkonen
2018-07-29 22:28:56 +03:00
parent b7b033dac1
commit 458c972580
4 changed files with 60 additions and 4 deletions
@@ -406,6 +406,8 @@ namespace Barotrauma
case NetEntityEvent.Type.ChangeProperty:
ReadPropertyChange(msg);
break;
case NetEntityEvent.Type.Invalid:
break;
}
}