Shift marker persistence off of server thread (lag reduction)
This commit is contained in:
parent
ecedd7d917
commit
a6d28ff9e2
1 changed files with 5 additions and 0 deletions
|
|
@ -256,6 +256,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public boolean isServerThread() {
|
||||||
|
return Bukkit.getServer().isPrimaryThread();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String stripChatColor(String s) {
|
public String stripChatColor(String s) {
|
||||||
return ChatColor.stripColor(s);
|
return ChatColor.stripColor(s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue