Shift marker persistence off of server thread (lag reduction)
This commit is contained in:
parent
41d1de1fbb
commit
f80b456b2c
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue