Handle events from updates on disabled worlds properly

This commit is contained in:
Mike Primm 2020-07-09 12:47:28 -05:00
parent 06f149f731
commit a70d091d9a
6 changed files with 8 additions and 0 deletions

View file

@ -1682,6 +1682,7 @@ public class DynmapPlugin
World w = event.getWorld();
if(!(w instanceof WorldServer)) return;
final ForgeWorld fw = getWorld(w);
if (fw == null) return;
// This event can be called from off server thread, so push processing there
core.getServer().scheduleServerTask(new Runnable() {
public void run() {