mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-06-26 06:34:48 +02:00
Shift marker persistence off of server thread (lag reduction)
This commit is contained in:
parent
41d1de1fbb
commit
f80b456b2c
|
@ -256,6 +256,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
return true;
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean isServerThread() {
|
||||
return Bukkit.getServer().isPrimaryThread();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String stripChatColor(String s) {
|
||||
return ChatColor.stripColor(s);
|
||||
|
|
Loading…
Reference in New Issue
Block a user