Inline templateID
This commit is contained in:
1 parent
46170e3ab7
commit
e5622a47c0
12 files changed
+23
-27
No files matched your search
@@ -447,14 +447,14 @@ public class ManageNPCMsg extends ClientNetMsg {
|
||||
writer.putInt(item.getObjectUUID());
|
||||
|
||||
writer.putInt(0);
|
||||
writer.putInt(item.getTemplateID());
|
||||
writer.putInt(item.templateID);
|
||||
writer.putInt(item.template.item_value);
|
||||
|
||||
long timeLife = item.getDateToUpgrade() - System.currentTimeMillis();
|
||||
|
||||
timeLife /= 1000;
|
||||
writer.putInt((int) timeLife);
|
||||
writer.putInt(npc.getRollingTimeInSeconds(item.getTemplateID()));
|
||||
writer.putInt(npc.getRollingTimeInSeconds(item.templateID));
|
||||
writer.putInt(1);
|
||||
|
||||
if (item.isComplete())
|
||||
|
||||
Reference in new issue
Block a user