Shift marker persistence off of server thread (lag reduction)

This commit is contained in:
Mike Primm 2015-01-05 23:02:09 -06:00
parent 41d1de1fbb
commit f80b456b2c

View File

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