Skip to content

Commit

Permalink
Fix Zotzpyre not properly saving types when used with other mods (ex …
Browse files Browse the repository at this point in the history
…CarryOn) (Fixes #14)
  • Loading branch information
itsmeow committed Apr 4, 2021
1 parent 9acdf10 commit 9a9d1e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a9d1e4

Please sign in to comment.