Merge branch 'development'

This commit is contained in:
Brianna 2021-02-25 07:02:14 -06:00
commit 02b63e2b90
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId>
<artifactId>UltimateRepairing</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>1.4.7b</version>
<version>1.4.8</version>
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>UltimateRepairing-${project.version}</finalName>

View File

@ -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"))