Fix of pickup-Permission
This commit is contained in:
parent
9275b9b4a5
commit
8e3b771d61
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public class PlayerListener implements Listener {
|
||||||
if (!event.isCancelled() && event.getPlayer().getGameMode() == GameMode.CREATIVE) {
|
if (!event.isCancelled() && event.getPlayer().getGameMode() == GameMode.CREATIVE) {
|
||||||
LimitConfig.BlockPickup pickup = mod.getConfig().getBlockPickup();
|
LimitConfig.BlockPickup pickup = mod.getConfig().getBlockPickup();
|
||||||
if (pickup != null) {
|
if (pickup != null) {
|
||||||
if (checkPermission(event, NoLimitPermissions.DROP))
|
if (checkPermission(event, NoLimitPermissions.PICKUP))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (pickup == BlockPickup.REMOVE) {
|
if (pickup == BlockPickup.REMOVE) {
|
||||||
|
|
Loading…
Reference in a new issue