mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-02-14 01:22:41 +01:00
Fixed a faulty conditional
This commit is contained in:
parent
be7f92c436
commit
25f4293c8b
@ -72,8 +72,8 @@ public void run()
|
||||
{
|
||||
if(plugin.isDisabled(player) != WorldBlacklistMode.None) return;
|
||||
|
||||
// Check toggle
|
||||
if (!isToggleable || !isPickupEnabled(player.getUniqueId())) return;
|
||||
// If toggle is enabled AND player has been disabled, return.
|
||||
if (isToggleable && !isPickupEnabled(player.getUniqueId())) return;
|
||||
|
||||
// No permission ot use the backpack.
|
||||
if (!player.hasPermission(Permissions.USE)) return;
|
||||
|
Loading…
Reference in New Issue
Block a user