diff --git a/src/main/java/com/teammoeg/caupona/blocks/pot/StewPot.java b/src/main/java/com/teammoeg/caupona/blocks/pot/StewPot.java index fa730ed6..3e552299 100644 --- a/src/main/java/com/teammoeg/caupona/blocks/pot/StewPot.java +++ b/src/main/java/com/teammoeg/caupona/blocks/pot/StewPot.java @@ -77,6 +77,7 @@ public ItemInteractionResult useItemOn(ItemStack held,BlockState state, Level wo if (blockEntity.canAddFluid()) { if (held.isEmpty() && player.isShiftKeyDown()) { blockEntity.getTank().setFluid(FluidStack.EMPTY); + blockEntity.syncData(); return ItemInteractionResult.SUCCESS; } FluidStack out=Utils.extractFluid(held); diff --git a/src/main/java/com/teammoeg/caupona/blocks/pot/StewPotBlockEntity.java b/src/main/java/com/teammoeg/caupona/blocks/pot/StewPotBlockEntity.java index 667a8908..f6869d31 100644 --- a/src/main/java/com/teammoeg/caupona/blocks/pot/StewPotBlockEntity.java +++ b/src/main/java/com/teammoeg/caupona/blocks/pot/StewPotBlockEntity.java @@ -270,7 +270,7 @@ private boolean tryContianFluid() { RecipeHolder recipe = BowlContainingRecipe.getRecipes(inv.getStackInSlot(9)).stream().filter(t->t.value().matches(this.tank.getFluid())).findFirst().orElse(null); if (recipe != null) { is.shrink(1); - inv.setStackInSlot(5, recipe.value().handle(tryAddSpice(tank.drain(250, FluidAction.EXECUTE)))); + inv.setStackInSlot(10, recipe.value().handle(tryAddSpice(tank.drain(250, FluidAction.EXECUTE)))); return true; } }