Add spaces to gamemode message. Fixes BUKKIT-2148

By: feildmaster <admin@feildmaster.com>
This commit is contained in:
Bukkit/Spigot 2012-08-08 04:46:06 -05:00
parent d2369a7a2a
commit 390a562680

View File

@ -58,9 +58,9 @@ public class GameModeCommand extends VanillaCommand {
sender.sendMessage("Game mode change for " + player.getName() + " failed!");
} else {
if (player == sender) {
Command.broadcastCommandMessage(sender, "Set own game mode to" + mode.toString() + " mode", false);
Command.broadcastCommandMessage(sender, "Set own game mode to " + mode.toString() + " mode", false);
} else {
Command.broadcastCommandMessage(sender, "Set " + player.getName() + "'s game mode to" + mode.toString() + " mode", false);
Command.broadcastCommandMessage(sender, "Set " + player.getName() + "'s game mode to " + mode.toString() + " mode", false);
}
}
} else {