From 1f3a2baa6bbd4194a9d2653a6c7a053d94525433 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 2 Nov 2020 14:10:17 -0800 Subject: [PATCH] Some BlockMultiPlaceEvent optimization --- .../nossr50/listeners/BlockListener.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java index 14b043e9f..b2ce690f7 100644 --- a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java @@ -245,16 +245,16 @@ public class BlockListener implements Listener { mcMMO.getPlaceStore().setTrue(blockState); } - /* WORLD BLACKLIST CHECK */ - if(WorldBlacklist.isWorldBlacklisted(event.getBlock().getWorld())) { - return; - } - - Player player = event.getPlayer(); - - if (!UserManager.hasPlayerDataKey(player)) { - return; - } +// /* WORLD BLACKLIST CHECK */ +// if(WorldBlacklist.isWorldBlacklisted(event.getBlock().getWorld())) { +// return; +// } +// +// Player player = event.getPlayer(); +// +// if (!UserManager.hasPlayerDataKey(player)) { +// return; +// } } @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)