Fixed GameModeCommand and GiveCommand error/response display.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-09-14 22:18:28 -04:00
parent 9f604a909d
commit 3afaee9337
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ public class GameModeCommand extends VanillaCommand {
player.setGameMode(mode);
} else {
sender.sendMessage(player.getName() + " already has game mode" + mode.getValue());
sender.sendMessage(player.getName() + " already has game mode " + mode.getValue());
}
} else {
sender.sendMessage("There is no game mode with id " + args[1]);

View file

@ -30,7 +30,7 @@ public class GiveCommand extends VanillaCommand {
Material material = Material.matchMaterial(args[1]);
if (material != null) {
Command.broadcastCommandMessage(sender, "Giving " + player.getName() + " some " + material.getId() + "(" + material + ")");
Command.broadcastCommandMessage(sender, "Giving " + player.getName() + " some " + material.getId() + " (" + material + ")");
int amount = 1;