mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +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