|
|
@ -461,10 +461,15 @@ public class ManageNPCMsg extends ClientNetMsg { |
|
|
|
// if ((item.prefixToken == 0 && item.suffixToken == 0))
|
|
|
|
// if ((item.prefixToken == 0 && item.suffixToken == 0))
|
|
|
|
// writer.putInt(0);
|
|
|
|
// writer.putInt(0);
|
|
|
|
// else
|
|
|
|
// else
|
|
|
|
// writer.putInt(-1497023830);
|
|
|
|
// writer.putInt(-1497023830); ItemFlag.Magic?
|
|
|
|
|
|
|
|
|
|
|
|
writer.putInt(item.prefixToken); |
|
|
|
if (item.flags.contains(mbEnums.ItemFlags.Identified)) { |
|
|
|
writer.putInt(item.suffixToken); |
|
|
|
writer.putInt(item.prefixToken); |
|
|
|
|
|
|
|
writer.putInt(item.suffixToken); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
writer.putInt(0); |
|
|
|
|
|
|
|
writer.putInt(0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
writer.putString(item.name); |
|
|
|
writer.putString(item.name); |
|
|
|
} |
|
|
|
} |
|
|
|