From 33a991ae3ec5170e9b0a69254650df811634c974 Mon Sep 17 00:00:00 2001 From: Kli Kli Date: Mon, 22 Jul 2024 11:39:31 +0200 Subject: [PATCH] fix: ensure sacrificial bowl inventory changes are saved when chunk is saved --- .../occultism/common/blockentity/SacrificialBowlBlockEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/klikli_dev/occultism/common/blockentity/SacrificialBowlBlockEntity.java b/src/main/java/com/klikli_dev/occultism/common/blockentity/SacrificialBowlBlockEntity.java index 48c00587d..718e10822 100644 --- a/src/main/java/com/klikli_dev/occultism/common/blockentity/SacrificialBowlBlockEntity.java +++ b/src/main/java/com/klikli_dev/occultism/common/blockentity/SacrificialBowlBlockEntity.java @@ -46,6 +46,7 @@ protected void onContentsChanged( if (!SacrificialBowlBlockEntity.this.level.isClientSide) { SacrificialBowlBlockEntity.this.lastChangeTime = SacrificialBowlBlockEntity.this.level .getGameTime(); + SacrificialBowlBlockEntity.this.setChanged(); SacrificialBowlBlockEntity.this.markNetworkDirty(); } }