Hours not seconds
This commit is contained in:
parent
d7e3c25027
commit
b446a7640e
@ -103,7 +103,7 @@ public class JoinModule extends MiniPlugin
|
||||
private void loseDurability(ItemStack[] items, long time)
|
||||
{
|
||||
long diff = System.currentTimeMillis() - time;
|
||||
long hours = TimeUnit.MILLISECONDS.toSeconds(diff);
|
||||
long hours = TimeUnit.MILLISECONDS.toHours(diff);
|
||||
|
||||
for (ItemStack item : items)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user