This commit is contained in:
Brianna 2019-08-08 10:03:44 -04:00
parent 78c145642b
commit bbb95afdac

View File

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