mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Use the correct default repair material for netherite gear
This commit is contained in:
parent
cf78b51052
commit
6b340838ee
@ -1,6 +1,8 @@
|
|||||||
Version 2.1.130
|
Version 2.1.130
|
||||||
Fixed a bug that prevented Repair from working on the new Netherite weapons/armors
|
Fixed a bug that prevented Repair from working on the new Netherite weapons/armors
|
||||||
|
Fixed a bug where Netherite gear used Gold Ingots to repair instead of Netherite Scraps (by default)
|
||||||
mcMMO will now run a script to fix a misspelling of netherite in repair/salvage configs (script only runs once and then never again)
|
mcMMO will now run a script to fix a misspelling of netherite in repair/salvage configs (script only runs once and then never again)
|
||||||
|
mcMMO will produce a fake ItemDamageEvent before damaging axes in Tree Feller execution
|
||||||
|
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
|
@ -37,10 +37,10 @@ public enum MaterialType {
|
|||||||
return Material.DIAMOND;
|
return Material.DIAMOND;
|
||||||
|
|
||||||
case NETHER:
|
case NETHER:
|
||||||
if(Material.getMaterial("netherite_scrap") != null)
|
if(Material.getMaterial("NETHERITE_SCRAP") != null)
|
||||||
return Material.getMaterial("netherite_scrap");
|
return Material.getMaterial("NETHERITE_SCRAP");
|
||||||
else
|
else
|
||||||
return Material.GOLD_INGOT;
|
return Material.DIAMOND;
|
||||||
|
|
||||||
case OTHER:
|
case OTHER:
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user