From 1251b12d5f1cf145bd9b804370d5505d289644b2 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Wed, 22 Dec 2021 12:01:04 +0100 Subject: [PATCH] Fix Flopper BE data not always being stored --- .../org/cyclops/flopper/blockentity/BlockEntityFlopper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/cyclops/flopper/blockentity/BlockEntityFlopper.java b/src/main/java/org/cyclops/flopper/blockentity/BlockEntityFlopper.java index 43afacc..6ff711a 100644 --- a/src/main/java/org/cyclops/flopper/blockentity/BlockEntityFlopper.java +++ b/src/main/java/org/cyclops/flopper/blockentity/BlockEntityFlopper.java @@ -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() {