|
|
|
@ -10,6 +10,7 @@
@@ -10,6 +10,7 @@
|
|
|
|
|
package engine.net.client.msg; |
|
|
|
|
|
|
|
|
|
import engine.gameManager.NPCManager; |
|
|
|
|
import engine.mbEnums; |
|
|
|
|
import engine.mbEnums.GameObjectType; |
|
|
|
|
import engine.mbEnums.MinionType; |
|
|
|
|
import engine.mbEnums.ProtectionState; |
|
|
|
@ -456,10 +457,11 @@ public class ManageNPCMsg extends ClientNetMsg {
@@ -456,10 +457,11 @@ public class ManageNPCMsg extends ClientNetMsg {
|
|
|
|
|
else |
|
|
|
|
writer.put((byte) 0); |
|
|
|
|
|
|
|
|
|
if ((item.prefixToken == 0 && item.suffixToken == 0)) |
|
|
|
|
writer.putInt(0); |
|
|
|
|
else |
|
|
|
|
writer.putInt(-1497023830); |
|
|
|
|
writer.putInt(mbEnums.toInt(item.flags)); |
|
|
|
|
// if ((item.prefixToken == 0 && item.suffixToken == 0))
|
|
|
|
|
// writer.putInt(0);
|
|
|
|
|
// else
|
|
|
|
|
// writer.putInt(-1497023830);
|
|
|
|
|
|
|
|
|
|
writer.putInt(item.prefixToken); |
|
|
|
|
writer.putInt(item.suffixToken); |
|
|
|
|