Skip to content

Commit 00aab24

Browse files
committed
Put /tc map on the main thread
This change was already made on the BiomeGroups branch. This should make the biome mapper more reliable on the main branch too, at the cost of pausing the server for a while.
1 parent 5c36b1e commit 00aab24

File tree

1 file changed

+1
-1
lines changed
  • platforms/bukkit/src/main/java/com/khorn/terraincontrol/bukkit/commands

1 file changed

+1
-1
lines changed

platforms/bukkit/src/main/java/com/khorn/terraincontrol/bukkit/commands/MapCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public boolean onCommand(CommandSender sender, List<String> args)
111111

112112
MapWriter map = new MapWriter(world.getHandle(), size, angle, sender, offsetX, offsetZ, label);
113113

114-
this.plugin.getServer().getScheduler().runTaskAsynchronously(this.plugin, map);
114+
this.plugin.getServer().getScheduler().runTask(this.plugin, map);
115115

116116
return true;
117117
}

0 commit comments

Comments
 (0)