fixed the offering table not saving its contents when the recipe finishes

closes #381
This commit is contained in:
Ell 2024-12-05 21:52:14 +01:00
parent 1b81dd886b
commit 2aaedcb04e

View file

@ -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());