Try this version, otherwise maybe downgrade?

This commit is contained in:
boy0001 2015-09-05 20:45:31 +10:00
parent 1e386d274e
commit e704784570
3 changed files with 4 additions and 2 deletions

View File

@ -145,9 +145,11 @@ public class BukkitUtil extends BlockManager {
} }
public static World getWorld(final String string) { public static World getWorld(final String string) {
if (StringMan.isEqual(string,lastString)) { if (StringMan.isEqual(string, lastString)) {
if (lastWorld != null) {
return lastWorld; return lastWorld;
} }
}
World world = Bukkit.getWorld(string); World world = Bukkit.getWorld(string);
lastString = string; lastString = string;
lastWorld = world; lastWorld = world;

Binary file not shown.

Binary file not shown.