From 390a562680a4fc559914b9d03e5e029c38c0275b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 8 Aug 2012 04:46:06 -0500 Subject: [PATCH] Add spaces to gamemode message. Fixes BUKKIT-2148 By: feildmaster --- .../java/org/bukkit/command/defaults/GameModeCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/command/defaults/GameModeCommand.java b/paper-api/src/main/java/org/bukkit/command/defaults/GameModeCommand.java index 08e5a90a1f..ad44516030 100644 --- a/paper-api/src/main/java/org/bukkit/command/defaults/GameModeCommand.java +++ b/paper-api/src/main/java/org/bukkit/command/defaults/GameModeCommand.java @@ -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 {