Fixed 2 more minor migration bugs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user