Browse Source

Unused variable removal.

master
MagicBot 1 year ago
parent
commit
f4e9896dbc
  1. 3
      src/engine/net/client/msg/ManageNPCMsg.java

3
src/engine/net/client/msg/ManageNPCMsg.java

@ -452,8 +452,7 @@ public class ManageNPCMsg extends ClientNetMsg { @@ -452,8 +452,7 @@ public class ManageNPCMsg extends ClientNetMsg {
writer.putInt(0);
writer.putInt(i.getItemBaseID());
writer.putInt(ib.getBaseValue());
long curTime = System.currentTimeMillis() / 1000;
long upgradeTime = i.getDateToUpgrade() / 1000;
long timeLife = i.getDateToUpgrade() - System.currentTimeMillis();
timeLife /= 1000;

Loading…
Cancel
Save