mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-12-01 15:03:23 +01:00
Fix
This commit is contained in:
parent
78c145642b
commit
bbb95afdac
@ -106,7 +106,7 @@ public class Methods {
|
|||||||
if (item.getType().name().contains("STONE"))
|
if (item.getType().name().contains("STONE"))
|
||||||
return Material.STONE;
|
return Material.STONE;
|
||||||
if (item.getType().name().contains("WOOD"))
|
if (item.getType().name().contains("WOOD"))
|
||||||
return Material.OAK_WOOD;
|
return UltimateRepairing.getInstance().isServerVersionAtLeast(ServerVersion.V1_13) ? Material.OAK_WOOD : Material.valueOf("WOOD");
|
||||||
}
|
}
|
||||||
return Material.valueOf(UltimateRepairing.getInstance().getConfig().getString("Interfaces.Item Icon"));
|
return Material.valueOf(UltimateRepairing.getInstance().getConfig().getString("Interfaces.Item Icon"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user