13
0

Revert "Buckets in inventories"

This reverts commit cdf12be656.
Dieser Commit ist enthalten in:
Chaoscaot 2023-01-22 23:41:10 +01:00
Ursprung 2809593238
Commit b8f6eacca4

Datei anzeigen

@ -138,12 +138,11 @@ public class AutoChecker15 implements AutoChecker.IAutoChecker {
if(itemType == null) //Leere Slots if(itemType == null) //Leere Slots
continue; continue;
if(material == Material.DISPENSER && (itemType.equals(Material.FIRE_CHARGE) || itemType.equals(Material.ARROW))) { if(material == Material.DISPENSER && (itemType.equals(Material.FIRE_CHARGE) || itemType.equals(Material.ARROW) || itemType.equals(Material.BUCKET))) {
counter += item.getByte("Count"); counter += item.getByte("Count");
}else if (!FLOWERS.contains(itemType) && !((material == Material.CHEST || material == Material.BARREL) && itemType.equals(Material.TNT)) } else if(!FLOWERS.contains(itemType) && !((material == Material.CHEST || material == Material.BARREL) && itemType.equals(Material.TNT))) {
&& (material == Material.DISPENSER && !itemType.equals(Material.BUCKET))) {
result.getForbiddenItems().computeIfAbsent(pos, blockVector3 -> new HashSet<>()).add(itemType); result.getForbiddenItems().computeIfAbsent(pos, blockVector3 -> new HashSet<>()).add(itemType);
} else if (item.containsKey("tag")) { }else if(item.containsKey("tag")) {
result.getForbiddenNbt().computeIfAbsent(pos, blockVector3 -> new HashSet<>()).add(itemType); result.getForbiddenNbt().computeIfAbsent(pos, blockVector3 -> new HashSet<>()).add(itemType);
} }
} }