Updated BukkitWorld NMS fields to be static.

This prevents attempts at loading the proper NMS compatibility classes from occurring more than once.
This commit is contained in:
Albert Pham 2013-03-12 18:05:14 -07:00
parent 6f8b80ae37
commit 184d02d2e3

View File

@ -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