Browse Source

Serialization update.

combat-2
MagicBot 7 months ago
parent
commit
4723eb4bf2
  1. 10
      src/engine/net/client/msg/ManageNPCMsg.java

10
src/engine/net/client/msg/ManageNPCMsg.java

@ -461,13 +461,9 @@ public class ManageNPCMsg extends ClientNetMsg { @@ -461,13 +461,9 @@ public class ManageNPCMsg extends ClientNetMsg {
else
writer.putInt(-1497023830);
if (!item.isComplete()) {
writer.putInt(0);
writer.putInt(0);
} else {
writer.putInt(item.prefixToken);
writer.putInt(item.suffixToken);
}
writer.putInt(item.prefixToken);
writer.putInt(item.suffixToken);
writer.putString(item.name);
}

Loading…
Cancel
Save