From 2aaedcb04e1f929746566307d582d7aededab014 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 5 Dec 2024 21:52:14 +0100 Subject: [PATCH] fixed the offering table not saving its contents when the recipe finishes closes #381 --- .../naturesaura/blocks/tiles/BlockEntityOfferingTable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/BlockEntityOfferingTable.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/BlockEntityOfferingTable.java index d82ae2fc..cc46ffe7 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/BlockEntityOfferingTable.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/BlockEntityOfferingTable.java @@ -79,6 +79,7 @@ public class BlockEntityOfferingTable extends BlockEntityImpl implements ITickab stack.shrink(recipeCount * amount); item.kill(); this.sendToClients(); + this.setChanged(); for (var i = 0; i < recipeCount; i++) this.itemsToSpawn.add(recipe.output.copy());