13
0
geforkt von Mirrors/Paper

#1456: Fix inverted logic in CraftCrafterView#setSlotDisabled

By: Miles Holder <mwholder2005@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2024-07-28 08:34:00 +10:00
Ursprung 57bb408920
Commit 1a0dce328a

Datei anzeigen

@ -27,6 +27,6 @@ public class CraftCrafterView extends CraftInventoryView<CrafterMenu> implements
public void setSlotDisabled(final int slot, final boolean disabled) {
Preconditions.checkArgument(slot >= 0 && slot < 9, "Invalid slot index %s for Crafter", slot);
container.setSlotState(slot, disabled);
container.setSlotState(slot, !disabled);
}
}