From ae340ccac0f69169d35479f44c24dfc3e17232e4 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Tue, 30 Mar 2021 18:48:57 +0200 Subject: [PATCH] Spooky ghost honey - Fixed pipes drawing non-source honey from beehives - Fixed deployers duplicating glass bottles --- .../contraptions/components/deployer/DeployerFakePlayer.java | 1 + .../create/content/contraptions/fluids/OpenEndedPipe.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/deployer/DeployerFakePlayer.java b/src/main/java/com/simibubi/create/content/contraptions/components/deployer/DeployerFakePlayer.java index 9d632361b..b3a9b06c4 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/deployer/DeployerFakePlayer.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/deployer/DeployerFakePlayer.java @@ -90,6 +90,7 @@ public class DeployerFakePlayer extends FakePlayer { @Override public ItemStack onFoodEaten(World world, ItemStack stack) { + stack.shrink(1); return stack; } diff --git a/src/main/java/com/simibubi/create/content/contraptions/fluids/OpenEndedPipe.java b/src/main/java/com/simibubi/create/content/contraptions/fluids/OpenEndedPipe.java index 3a085e7e1..487a211cc 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/fluids/OpenEndedPipe.java +++ b/src/main/java/com/simibubi/create/content/contraptions/fluids/OpenEndedPipe.java @@ -78,7 +78,8 @@ public class OpenEndedPipe extends FlowSource { if (state.has(HONEY_LEVEL) && state.get(HONEY_LEVEL) >= 5) { if (!simulate) world.setBlockState(outputPos, state.with(HONEY_LEVEL, 0), 3); - return new FluidStack(AllFluids.HONEY.get(), 250); + return new FluidStack(AllFluids.HONEY.get() + .getStillFluid(), 250); } if (!waterlog && !state.getMaterial()