mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-22 18:25:59 +01:00
quick fix.
This commit is contained in:
parent
97acdef9b8
commit
98ba629b89
@ -136,13 +136,13 @@ public class HopHandler {
|
||||
if (!whiteList.isEmpty()
|
||||
&& whiteList.stream().noneMatch(itemStack -> itemStack.isSimilar(hopperContents[finalIncrement]))) {
|
||||
doBlacklist(hopperState, hopper, hopperContents[i].clone(), amount, i);
|
||||
hopperState.update();
|
||||
block.getState().update();
|
||||
continue main;
|
||||
}
|
||||
|
||||
if (blackList.stream().noneMatch(itemStack -> itemStack.isSimilar(hopperContents[finalIncrement]))) {
|
||||
if (addItem(hopperState, hopper, destinationInventory, destinationBlock, hopperContents[i], amount, i)) {
|
||||
hopperState.update();
|
||||
block.getState().update();
|
||||
continue main;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user