diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Listener/ItemShortcut.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Listener/ItemShortcut.java index 27933d7..be5cd6d 100644 --- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Listener/ItemShortcut.java +++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Listener/ItemShortcut.java @@ -163,7 +163,7 @@ public void onItemClick(InventoryClickEvent event) { if(event.getAction() == InventoryAction.SWAP_WITH_CURSOR) { - if(plugin.isDisabled(player) != WorldBlacklistMode.None || !player.hasPermission("backpack.use")) return; + if(plugin.isDisabled(player) != WorldBlacklistMode.None || !player.hasPermission("backpack.use") || !plugin.isPlayerGameModeAllowed(player)) return; Backpack backpack = plugin.getBackpackCachedOnly(player); if(backpack != null) {