mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-25 20:17:38 +01:00
Fixed terrible Repairing and DecayCurse performance
This commit is contained in:
parent
ec7c103081
commit
bc707fb80d
@ -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();
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user