Skip to content

Commit

Permalink
add debug output to map new command
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 29, 2020
1 parent 2382089 commit 3da8979
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -185,6 +185,7 @@ public void execute(ScriptEntry scriptEntry) {
if (create != null) {
map = Bukkit.getServer().createMap(create.getWorld());
scriptEntry.addObject("created_map", new ElementTag(map.getId()));
Debug.echoDebug(scriptEntry, "Created map with id " + map.getId() + ".");
}
else if (id != null) {
map = Bukkit.getServer().getMap((short) id.asInt());
Expand Down

0 comments on commit 3da8979

Please sign in to comment.