mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Try this version, otherwise maybe downgrade?
This commit is contained in:
parent
1e386d274e
commit
e704784570
@ -146,8 +146,10 @@ 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.
Loading…
Reference in New Issue
Block a user