SPIGOT-1610: Treat clicking on an inventory window as clicking outside it

Dieser Commit ist enthalten in:
Thinkofdeath 2016-03-01 23:44:22 +00:00
Ursprung f8e38f2d9f
Commit 92602ad172

Datei anzeigen

@ -125,7 +125,7 @@ public class CraftInventoryView extends InventoryView {
// Nothing to do, it's a CONTAINER slot // Nothing to do, it's a CONTAINER slot
} }
} else { } else {
if (slot == -999) { if (slot == -999 || slot == -1) {
type = SlotType.OUTSIDE; type = SlotType.OUTSIDE;
} else if (inventory.getType() == InventoryType.CRAFTING) { } else if (inventory.getType() == InventoryType.CRAFTING) {
if (slot < 9) { if (slot < 9) {