mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 23:27:35 +01:00
Use getName instead of toString for displaying world name.
This commit is contained in:
parent
6283382837
commit
0bee631385
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user