forked from MagicBane/Server
New rolling duration method moved to manager singleton.
This commit is contained in:
@@ -450,7 +450,7 @@ public class ManageNPCMsg extends ClientNetMsg {
|
||||
|
||||
timeLife /= 1000;
|
||||
writer.putInt((int) timeLife);
|
||||
writer.putInt(npc.getRollingTimeInSeconds(item.templateID));
|
||||
writer.putInt((int) (NPCManager.calcRollingDuration(npc, item.templateID) * .001));
|
||||
writer.putInt(1);
|
||||
|
||||
if (item.isComplete())
|
||||
|
||||
Reference in New Issue
Block a user