mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-08 08:31:44 +01:00
Set world-node when world changes.
This commit is contained in:
parent
a15f60b761
commit
a87831a12f
@ -194,6 +194,8 @@ public class ArenaImpl implements Arena
|
||||
@Override
|
||||
public void setWorld(World world) {
|
||||
this.world = world;
|
||||
settings.set("world", world.getName());
|
||||
settings.getParent().save();
|
||||
if (region != null) region.refreshWorld();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user