mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
SPIGOT-1610: Treat clicking on an inventory window as clicking outside it
This commit is contained in:
parent
f8e38f2d9f
commit
92602ad172
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ public class CraftInventoryView extends InventoryView {
|
|||
// Nothing to do, it's a CONTAINER slot
|
||||
}
|
||||
} else {
|
||||
if (slot == -999) {
|
||||
if (slot == -999 || slot == -1) {
|
||||
type = SlotType.OUTSIDE;
|
||||
} else if (inventory.getType() == InventoryType.CRAFTING) {
|
||||
if (slot < 9) {
|
||||
|
|
Loading…
Add table
Reference in a new issue