mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-29 14:06:30 +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"))
|
||||
return Material.STONE;
|
||||
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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user