Use getName instead of toString for displaying world name.

This commit is contained in:
wizjany 2013-05-15 07:56:04 -04:00
parent 6283382837
commit 0bee631385

View File

@ -128,7 +128,7 @@ public void stopLag(CommandContext args, CommandSender sender) throws CommandExc
if (removed > 10) { if (removed > 10) {
sender.sendMessage("" + removed + " entities (>10) auto-removed from " sender.sendMessage("" + removed + " entities (>10) auto-removed from "
+ world.toString()); + world.getName());
} }
} }