mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
Spooky ghost honey
- Fixed pipes drawing non-source honey from beehives - Fixed deployers duplicating glass bottles
This commit is contained in:
parent
3a6714fb08
commit
ae340ccac0
2 changed files with 3 additions and 1 deletions
|
@ -90,6 +90,7 @@ public class DeployerFakePlayer extends FakePlayer {
|
|||
|
||||
@Override
|
||||
public ItemStack onFoodEaten(World world, ItemStack stack) {
|
||||
stack.shrink(1);
|
||||
return stack;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue