quick fix 2

This commit is contained in:
Brianna 2019-04-15 21:57:00 -04:00
parent 98ba629b89
commit 8224cccd50

View File

@ -136,13 +136,11 @@ public class HopHandler {
if (!whiteList.isEmpty()
&& whiteList.stream().noneMatch(itemStack -> itemStack.isSimilar(hopperContents[finalIncrement]))) {
doBlacklist(hopperState, hopper, hopperContents[i].clone(), amount, i);
block.getState().update();
continue main;
}
if (blackList.stream().noneMatch(itemStack -> itemStack.isSimilar(hopperContents[finalIncrement]))) {
if (addItem(hopperState, hopper, destinationInventory, destinationBlock, hopperContents[i], amount, i)) {
block.getState().update();
continue main;
}
}