Set world-node when world changes.
This commit is contained in:
@@ -194,6 +194,8 @@ public class ArenaImpl implements Arena
|
|||||||
@Override
|
@Override
|
||||||
public void setWorld(World world) {
|
public void setWorld(World world) {
|
||||||
this.world = world;
|
this.world = world;
|
||||||
|
settings.set("world", world.getName());
|
||||||
|
settings.getParent().save();
|
||||||
if (region != null) region.refreshWorld();
|
if (region != null) region.refreshWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user