diff --git a/Changelog.txt b/Changelog.txt index f4fbe7d17e..17778b4fba 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -6,7 +6,7 @@ Version 2.1.143 NOTES: The item tracking is persistent for MC versions 1.13-1.16.2 (and beyond). However the code handling the persistence for 1.13.2 differs from the other versions. It shouldn't result in any problems. - Any items that currently have the "mcMMO Ability Tool" lore on them won't get touched by anything this update does, there is no way to tell what the true enchant values on those items should be. + Any items that currently have the old "mcMMO Ability Tool" lore on them will have that lore stripped off them and will have any dig speed enchants removed. This should only affect glitched items that never properly got their buffs removed. Version 2.1.142 Iron Arm Style renamed to Steel Arm Style diff --git a/src/main/java/com/gmail/nossr50/util/compat/layers/persistentdata/AbstractPersistentDataLayer.java b/src/main/java/com/gmail/nossr50/util/compat/layers/persistentdata/AbstractPersistentDataLayer.java index db07578cce..a11d3df9a7 100644 --- a/src/main/java/com/gmail/nossr50/util/compat/layers/persistentdata/AbstractPersistentDataLayer.java +++ b/src/main/java/com/gmail/nossr50/util/compat/layers/persistentdata/AbstractPersistentDataLayer.java @@ -53,4 +53,7 @@ public boolean isLegacyAbilityTool(ItemStack itemStack) { return lore.contains(LEGACY_ABILITY_TOOL_LORE); } + public static String getLegacyAbilityToolLore() { + return LEGACY_ABILITY_TOOL_LORE; + } }