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,8 +145,10 @@ public class BukkitUtil extends BlockManager {
}
public static World getWorld(final String string) {
if (StringMan.isEqual(string,lastString)) {
return lastWorld;
if (StringMan.isEqual(string, lastString)) {
if (lastWorld != null) {
return lastWorld;
}
}
World world = Bukkit.getWorld(string);
lastString = string;

Binary file not shown.

Binary file not shown.