diff --git a/pom.xml b/pom.xml index 8292483..41448a9 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda UltimateRepairing 4.0.0 - 1.4.7b + 1.4.8 clean install UltimateRepairing-${project.version} diff --git a/src/main/java/com/songoda/ultimaterepairing/utils/Methods.java b/src/main/java/com/songoda/ultimaterepairing/utils/Methods.java index 58ee737..741b145 100644 --- a/src/main/java/com/songoda/ultimaterepairing/utils/Methods.java +++ b/src/main/java/com/songoda/ultimaterepairing/utils/Methods.java @@ -81,7 +81,7 @@ public class Methods { public static Material getType(ItemStack item) { if (Settings.REPAIR_ONLY_SAME_TYPE.getBoolean()) { if (item.getType().name().contains("NETHERITE")) - return CompatibleMaterial.NETHERITE_BLOCK.getMaterial(); + return CompatibleMaterial.NETHERITE_INGOT.getMaterial(); if (item.getType().name().contains("DIAMOND")) return CompatibleMaterial.DIAMOND.getMaterial(); if (item.getType().name().contains("IRON"))