Removed unnecessary Long literals.
This commit is contained in:
@@ -213,7 +213,7 @@ public class AdminCursedWeapons implements IAdminCommandHandler
|
||||
{
|
||||
activeChar.addItem("AdminCursedWeaponAdd", id, 1, activeChar, true);
|
||||
}
|
||||
cw.setEndTime(System.currentTimeMillis() + (cw.getDuration() * 60000L));
|
||||
cw.setEndTime(System.currentTimeMillis() + (cw.getDuration() * 60000));
|
||||
cw.reActivate();
|
||||
}
|
||||
}
|
||||
|
@@ -201,8 +201,8 @@ public class ItemSkillsTemplate implements IItemHandler
|
||||
{
|
||||
if (!isAvailable)
|
||||
{
|
||||
final int hours = (int) (remainingTime / 3600000L);
|
||||
final int minutes = (int) (remainingTime % 3600000L) / 60000;
|
||||
final int hours = (int) (remainingTime / 3600000);
|
||||
final int minutes = (int) (remainingTime % 3600000) / 60000;
|
||||
final int seconds = (int) ((remainingTime / 1000) % 60);
|
||||
SystemMessage sm = null;
|
||||
if (hours > 0)
|
||||
|
Reference in New Issue
Block a user