From 5b0af07c3ca377ca50c48cc40d8a780cc5ee13ee Mon Sep 17 00:00:00 2001 From: Wizjany Date: Sun, 20 Jan 2013 02:10:05 -0500 Subject: [PATCH] Don't spam if we can't find a Nms Block --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 7e80ed7fe..9a5427a2f 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -124,7 +124,7 @@ public class BukkitWorld extends LocalWorld { // check if we have a class we can use for nms access // only run once per server startup - if (nmsBlockType != null) return; + if (nmsBlockType != null || skipNmsAccess || skipNmsSafeSet || skipNmsValidBlockCheck) return; Plugin plugin = Bukkit.getPluginManager().getPlugin("WorldEdit"); if (!(plugin instanceof WorldEditPlugin)) return; // hopefully never happens WorldEditPlugin wePlugin = ((WorldEditPlugin) plugin);