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
@@ -7,6 +7,7 @@ namespace Barotrauma.Networking
{
public enum Type
{
Invalid,
ComponentState,
InventoryState,
Status,