#1456: Fix inverted logic in CraftCrafterView#setSlotDisabled
This commit is contained in:
parent
682a678c82
commit
d53d0d0b19
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user