mirror of
https://github.com/songoda/UltimateKits.git
synced 2025-02-17 03:41:21 +01:00
General settings has been resolved
This commit is contained in:
parent
2070f841e1
commit
82183a144a
@ -184,7 +184,7 @@ public class InventoryListeners implements Listener {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
if (event.getRawSlot() > event.getView().getTopInventory().getSize()) {
|
||||
if (event.getRawSlot() > event.getView().getTopInventory().getSize() - 1) {
|
||||
if (playerData.isInInventory()) {
|
||||
event.setCancelled(false);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user