From 9a9d1e4bb8ce056d0bf3b7ffc374c6c41c10c65a Mon Sep 17 00:00:00 2001 From: itsmeow Date: Sat, 3 Apr 2021 22:20:20 -0400 Subject: [PATCH] Fix Zotzpyre not properly saving types when used with other mods (ex CarryOn) (Fixes #14) --- .../itsmeow/whisperwoods/entity/EntityMonsterWithTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMonsterWithTypes.java b/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMonsterWithTypes.java index 2393524..dba09ea 100644 --- a/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMonsterWithTypes.java +++ b/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMonsterWithTypes.java @@ -25,9 +25,9 @@ protected void registerData() { } @Override - public boolean writeUnlessRemoved(CompoundNBT compound) { + public void writeAdditional(CompoundNBT compound) { + super.writeAdditional(compound); this.writeType(compound); - return super.writeUnlessRemoved(compound); } @Override