From 184d02d2e30c1105aa23c20fc98b7e14081c8585 Mon Sep 17 00:00:00 2001 From: Albert Pham Date: Tue, 12 Mar 2013 18:05:14 -0700 Subject: [PATCH] Updated BukkitWorld NMS fields to be static. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This prevents attempts at loading the proper NMS compatibility classes from occurring more than once. --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 2103453f9..f85e8e674 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -101,9 +101,9 @@ public class BukkitWorld extends LocalWorld { private static final Logger logger = WorldEdit.logger; private World world; - private boolean skipNmsAccess = false; - private boolean skipNmsSafeSet = false; - private boolean skipNmsValidBlockCheck = false; + private static boolean skipNmsAccess = false; + private static boolean skipNmsSafeSet = false; + private static boolean skipNmsValidBlockCheck = false; /* * holder for the nmsblock class that we should use