Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated BukkitWorld NMS fields to be static.

This prevents attempts at loading the proper NMS compatibility classes from occurring more than once.
  • Loading branch information...
commit 184d02d2e30c1105aa23c20fc98b7e14081c8585 1 parent 6f8b80a
Albert Pham authored March 12, 2013
6  src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
@@ -101,9 +101,9 @@
101 101
 
102 102
     private static final Logger logger = WorldEdit.logger;
103 103
     private World world;
104  
-    private boolean skipNmsAccess = false;
105  
-    private boolean skipNmsSafeSet = false;
106  
-    private boolean skipNmsValidBlockCheck = false;
  104
+    private static boolean skipNmsAccess = false;
  105
+    private static boolean skipNmsSafeSet = false;
  106
+    private static boolean skipNmsValidBlockCheck = false;
107 107
 
108 108
     /*
109 109
      * holder for the nmsblock class that we should use

1 note on commit 184d02d

Albert Pham
Owner

Err, I'm not positive if all of them need/should be static. I will have to check later, or someone else can.

Please sign in to comment.
Something went wrong with that request. Please try again.