Skip to content

Commit

Permalink
Fix Flopper BE data not always being stored
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Dec 22, 2021
1 parent b92131b commit 1251b12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ public void read(CompoundTag tag) {
}

@Override
public CompoundTag save(CompoundTag tag) {
public void saveAdditional(CompoundTag tag) {
super.saveAdditional(tag);
CompoundTag tagTank = new CompoundTag();
tank.writeToNBT(tagTank);
tag.put("tank", tagTank);
return super.save(tag);
}

protected Direction getFacing() {
Expand Down

0 comments on commit 1251b12

Please sign in to comment.