mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-07 19:30:48 +01:00
Fix reference to old edit world being kept
This commit is contained in:
parent
37e07accd9
commit
74ede6d392
@ -123,6 +123,7 @@ public class DEditWorld extends DInstanceWorld implements EditWorld {
|
||||
}
|
||||
|
||||
FileUtil.removeDir(getFolder());
|
||||
getResource().editWorld = null;
|
||||
plugin.getInstanceCache().remove(this);
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ public class DResourceWorld implements ResourceWorld {
|
||||
private File folder;
|
||||
private WorldConfig config;
|
||||
private SignData signData;
|
||||
private EditWorld editWorld;
|
||||
EditWorld editWorld;
|
||||
|
||||
public DResourceWorld(DungeonsXL plugin, String name) {
|
||||
this.plugin = plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user