mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 08:47:35 +01:00
Add spaces to gamemode message. Fixes BUKKIT-2148
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
d2369a7a2a
commit
390a562680
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user