mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 06:24:29 +01:00
Funnels in motion revisited
- Fixed andesite funnels dropping full stacks when used in a moving contraption (PR #6602 by cshcrafter)
This commit is contained in:
parent
9beda447ef
commit
9703417f1c
@ -74,8 +74,7 @@ public class FunnelMovementBehaviour implements MovementBehaviour {
|
||||
FilterItemStack filter = context.getFilterFromBE();
|
||||
int filterAmount = context.blockEntityData.getInt("FilterAmount");
|
||||
boolean upTo = context.blockEntityData.getBoolean("UpTo");
|
||||
if (filterAmount <= 0)
|
||||
filterAmount = hasFilter ? 64 : 1;
|
||||
filterAmount = hasFilter ? filterAmount : 1;
|
||||
|
||||
ItemStack extract = ItemHelper.extract(context.contraption.getSharedInventory(),
|
||||
s -> filter.test(world, s),
|
||||
|
Loading…
Reference in New Issue
Block a user