Hours not seconds

This commit is contained in:
Sam 2017-05-11 22:56:48 +01:00
parent d7e3c25027
commit b446a7640e

View File

@ -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)
{