From 8e3b771d6126481607e32522bf64096ebe0be777 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sat, 5 Oct 2013 14:16:00 +0200 Subject: [PATCH] Fix of pickup-Permission --- .../minecraft/limitedcreative/limits/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/PlayerListener.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/PlayerListener.java index d3c2a58..878fecb 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/PlayerListener.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/limits/PlayerListener.java @@ -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) {