mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Dynmap integration; resolves #420
This commit is contained in:
parent
3d23b3c4f3
commit
29044b417a
@ -223,6 +223,11 @@ public class DResourceWorld {
|
||||
|
||||
FileUtil.copyDir(folder, instanceFolder, DungeonsXL.EXCLUDED_FILES);
|
||||
instance.world = Bukkit.createWorld(WorldCreator.name(name).environment(getWorldEnvironment()));
|
||||
if (Bukkit.getPluginManager().getPlugin("dynmap") != null) {
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "dynmap pause all");
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "dmap worldset " + name + " enabled:false");
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "dynmap pause none");
|
||||
}
|
||||
|
||||
if (game) {
|
||||
signData.deserializeSigns((DGameWorld) instance);
|
||||
|
Loading…
Reference in New Issue
Block a user