This commit is contained in:
nossr50 2020-10-12 12:57:15 -07:00
parent bc71f586d7
commit 508c256aa4
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>2.1.149-SNAPSHOT</version> <version>2.1.149</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm> <scm>

View File

@ -29,9 +29,7 @@ public class TransientMetadataTools {
livingEntity.removeMetadata(mcMMO.travelingBlock, pluginRef); livingEntity.removeMetadata(mcMMO.travelingBlock, pluginRef);
} }
//1.13.2 uses transient mob flags and needs to be cleaned up //Cleanup mob metadata
if(mcMMO.getCompatibilityManager().getPersistentDataLayer() instanceof SpigotPersistentDataLayer_1_13) { mcMMO.getCompatibilityManager().getPersistentDataLayer().removeMobFlags(livingEntity);
mcMMO.getCompatibilityManager().getPersistentDataLayer().removeMobFlags(livingEntity);
}
} }
} }