mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-06 22:17:40 +01:00
Fixed 2 more minor migration bugs
This commit is contained in:
parent
9248682ff6
commit
45bac32c88
@ -20,7 +20,6 @@ import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.WeakHashMap;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class CustomEnchantLookup {
|
||||
/**
|
||||
|
@ -97,7 +97,7 @@ public class Farmhand extends EcoEnchant {
|
||||
block.setType(Material.FARMLAND);
|
||||
if (this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "per-block-damage")) {
|
||||
|
||||
DurabilityUtils.damageItem(player, player.getInventory().getItemInMainHand(), 1, player.getInventory().getHeldItemSlot());
|
||||
DurabilityUtils.damageItem(player, player.getInventory().getItemInMainHand(), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user