Skip to content

Commit e235326

Browse files
committed
update MapManager.java
1 parent f739ba2 commit e235326

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/me/david/manager/MapManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public void drop() {
5555

5656
Scheduler.dispatchCommand(() -> {
5757
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/world " + spawnLocation.getWorld().getName());
58-
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/pos1 " + edgeMin.getBlockX() + ",-63," + edgeMin.getBlockZ());
59-
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/pos2 " + edgeMax.getBlockX() + ",350," + edgeMax.getBlockZ());
60-
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/set 0");
58+
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/pos1 " + edgeMin.getBlockX() + ",0," + edgeMin.getBlockZ());
59+
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/pos2 " + edgeMax.getBlockX() + "," + EventCore.getInstance().getConfig().getLong("Settings.MaxBuildHeight", 365L) + "," + edgeMax.getBlockZ());
60+
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "/replace !bedrock,barrier 0");
6161
EventCore.getInstance().getConfig().getStringList("Settings.Drop.CustomCommands").forEach(command ->
6262
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), command.substring(1)));
6363
});

0 commit comments

Comments
 (0)