forked from SteamWar/SteamWar
Fix PullRequest comment
This commit is contained in:
@@ -73,9 +73,11 @@ public class AutoChecker {
|
||||
continue;
|
||||
}
|
||||
|
||||
BlockPos pos = new BlockPos(x, y, z);
|
||||
|
||||
if (AutoCheckerItems.impl.getInventoryMaterials().contains(material)) {
|
||||
checkInventory(result, block, material, new BlockPos(x, y, z), type);
|
||||
if (result.getDispenserItems().get(new BlockPos(x, y, z)) != null && result.getDispenserItems().get(new BlockPos(x, y, z)) > 0) {
|
||||
checkInventory(result, block, material, pos, type);
|
||||
if (result.getDispenserItems().getOrDefault(pos, 0) > 0) {
|
||||
result.getBlockCounts().merge(material, 1, Integer::sum);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user