mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-28 06:31:43 +01:00
Fixed repairing/decay curse
This commit is contained in:
parent
502993df9f
commit
382c276a39
@ -28,7 +28,7 @@ public final class DecayCurse extends EcoEnchant implements EcoRunnable {
|
||||
}
|
||||
|
||||
private final Set<Player> players = new HashSet<>();
|
||||
private int amount = EcoEnchants.DECAY_CURSE.getConfig().getInt(EcoEnchants.CONFIG_LOCATION + "damage");
|
||||
private int amount = 10000;
|
||||
|
||||
@EventHandler
|
||||
public void onItemPickup(EntityPickupItemEvent event) {
|
||||
|
@ -28,7 +28,7 @@ public final class Repairing extends EcoEnchant implements EcoRunnable {
|
||||
}
|
||||
|
||||
private final Set<Player> players = new HashSet<>();
|
||||
private int amount = EcoEnchants.REPAIRING.getConfig().getInt(EcoEnchants.CONFIG_LOCATION + "damage");
|
||||
private int amount = 10000;
|
||||
|
||||
@EventHandler
|
||||
public void onItemPickup(EntityPickupItemEvent event) {
|
||||
|
Loading…
Reference in New Issue
Block a user