geforkt von Mirrors/Paper
#1456: Fix inverted logic in CraftCrafterView#setSlotDisabled
By: Miles Holder <mwholder2005@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
57bb408920
Commit
1a0dce328a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren