mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-01 00:10:19 +01:00
Merge branch 'development'
This commit is contained in:
commit
02b63e2b90
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user