Fixed terrible Repairing and DecayCurse performance
This commit is contained in:
@@ -109,7 +109,6 @@ public class DecayCurse extends EcoEnchant implements EcoRunnable {
|
||||
}
|
||||
|
||||
DurabilityUtils.damageItemNoBreak(item, amount, player);
|
||||
player.updateInventory();
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -112,7 +112,6 @@ public class Repairing extends EcoEnchant implements EcoRunnable {
|
||||
}
|
||||
|
||||
DurabilityUtils.repairItem(item, amount * level);
|
||||
player.updateInventory();
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user