Use the correct default repair material for netherite gear

This commit is contained in:
nossr50
2020-06-26 15:00:52 -07:00
parent cf78b51052
commit 6b340838ee
2 changed files with 5 additions and 3 deletions

View File

@ -37,10 +37,10 @@ public enum MaterialType {
return Material.DIAMOND;
case NETHER:
if(Material.getMaterial("netherite_scrap") != null)
return Material.getMaterial("netherite_scrap");
if(Material.getMaterial("NETHERITE_SCRAP") != null)
return Material.getMaterial("NETHERITE_SCRAP");
else
return Material.GOLD_INGOT;
return Material.DIAMOND;
case OTHER:
default: