Fix of pickup-Permission

This commit is contained in:
Jascha Starke 2013-10-05 14:16:00 +02:00
parent 9275b9b4a5
commit 8e3b771d61

View file

@ -109,7 +109,7 @@ public class PlayerListener implements Listener {
if (!event.isCancelled() && event.getPlayer().getGameMode() == GameMode.CREATIVE) {
LimitConfig.BlockPickup pickup = mod.getConfig().getBlockPickup();
if (pickup != null) {
if (checkPermission(event, NoLimitPermissions.DROP))
if (checkPermission(event, NoLimitPermissions.PICKUP))
return;
if (pickup == BlockPickup.REMOVE) {