mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
SPIGOT-1610: Treat clicking on an inventory window as clicking outside it
This commit is contained in:
parent
f8e38f2d9f
commit
92602ad172
@ -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…
Reference in New Issue
Block a user