Add ClientWorld hack
This commit is contained in:
parent
8e27d5defd
commit
e0619ec650
1 changed files with 1 additions and 0 deletions
|
|
@ -1823,6 +1823,7 @@ public class DynmapPlugin
|
|||
if(!onblockchange) return;
|
||||
BlockUpdateRec r = new BlockUpdateRec();
|
||||
r.w = event.getWorld();
|
||||
if(!(r.w instanceof ServerWorld)) return; // band-aid to prevent errors in unsupported 'running in client' scenario
|
||||
ForgeWorld fw = getWorld((IServerWorld)r.w, false);
|
||||
if (fw == null) return;
|
||||
r.wid = fw.getName();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue