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