Fix PullRequest comment

This commit is contained in:
Sakziea
2026-07-17 14:22:36 +02:00
parent a8c68864d8
commit 582d6a62e3
@@ -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 {