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
|
|
@ -1791,6 +1791,7 @@ public class DynmapPlugin
|
|||
BlockUpdateRec r = new BlockUpdateRec();
|
||||
r.w = event.getWorld();
|
||||
ForgeWorld fw = getWorld(r.w, false);
|
||||
if (fw == null) return;
|
||||
r.wid = fw.getName();
|
||||
BlockPos p = event.getPos();
|
||||
r.x = p.getX();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue