|
|
@ -192,7 +192,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
if (includeSlot) |
|
|
|
if (includeSlot) |
|
|
|
writer.putInt(item.equipSlot.ordinal()); |
|
|
|
writer.putInt(item.equipSlot.ordinal()); |
|
|
|
writer.putInt(0); // Pad
|
|
|
|
writer.putInt(0); // Pad
|
|
|
|
writer.putInt(item.getItemBase().getUUID()); |
|
|
|
writer.putInt(item.templateID); |
|
|
|
|
|
|
|
|
|
|
|
writer.putInt(item.getObjectType().ordinal()); |
|
|
|
writer.putInt(item.getObjectType().ordinal()); |
|
|
|
writer.putInt(item.getObjectUUID()); |
|
|
|
writer.putInt(item.getObjectUUID()); |
|
|
@ -397,7 +397,6 @@ public class Item extends AbstractWorldObject { |
|
|
|
if (includeSlot) |
|
|
|
if (includeSlot) |
|
|
|
reader.getInt(); |
|
|
|
reader.getInt(); |
|
|
|
reader.getInt(); |
|
|
|
reader.getInt(); |
|
|
|
int itemBase = reader.getInt(); //itemBase
|
|
|
|
|
|
|
|
int objectType = reader.getInt(); //object type;
|
|
|
|
int objectType = reader.getInt(); //object type;
|
|
|
|
int UUID = reader.getInt(); |
|
|
|
int UUID = reader.getInt(); |
|
|
|
for (int i = 0; i < 14; i++) { |
|
|
|
for (int i = 0; i < 14; i++) { |
|
|
|