mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-28 22:55:09 +02:00
#1456: Fix inverted logic in CraftCrafterView#setSlotDisabled
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
parent
57bb408920
commit
1a0dce328a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue