From 508c256aa4f5682975493832027b04d57d7a8003 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 12 Oct 2020 12:57:15 -0700 Subject: [PATCH] 2.1.149 --- pom.xml | 2 +- .../java/com/gmail/nossr50/util/TransientMetadataTools.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index fed15ea34..7875fec71 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.149-SNAPSHOT + 2.1.149 mcMMO https://github.com/mcMMO-Dev/mcMMO diff --git a/src/main/java/com/gmail/nossr50/util/TransientMetadataTools.java b/src/main/java/com/gmail/nossr50/util/TransientMetadataTools.java index 9891380e1..8aacee4d5 100644 --- a/src/main/java/com/gmail/nossr50/util/TransientMetadataTools.java +++ b/src/main/java/com/gmail/nossr50/util/TransientMetadataTools.java @@ -29,9 +29,7 @@ public class TransientMetadataTools { livingEntity.removeMetadata(mcMMO.travelingBlock, pluginRef); } - //1.13.2 uses transient mob flags and needs to be cleaned up - if(mcMMO.getCompatibilityManager().getPersistentDataLayer() instanceof SpigotPersistentDataLayer_1_13) { - mcMMO.getCompatibilityManager().getPersistentDataLayer().removeMobFlags(livingEntity); - } + //Cleanup mob metadata + mcMMO.getCompatibilityManager().getPersistentDataLayer().removeMobFlags(livingEntity); } }