Handle events from updates on disabled worlds properly
This commit is contained in:
parent
06f149f731
commit
a70d091d9a
6 changed files with 8 additions and 0 deletions
|
|
@ -1689,6 +1689,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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue