geforkt von Mirrors/Paper
SPIGOT-3425: Correct slot type calculation
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
8f5c16fce3
Commit
16a95139f7
@ -133,7 +133,7 @@ public class CraftInventoryView extends InventoryView {
|
||||
} else if (slot > 35) {
|
||||
type = SlotType.QUICKBAR;
|
||||
}
|
||||
} else if (slot >= (inventory.countSlots() - 9)) {
|
||||
} else if (slot >= (inventory.countSlots() - (9 + 4 + 1))) { // Quickbar, Armor, Offhand
|
||||
type = SlotType.QUICKBAR;
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren