From 0ca264580c2dbd2cd482e24350fa63c6ed00710b Mon Sep 17 00:00:00 2001 From: cerevisiae Date: Tue, 30 Nov 2010 00:39:32 -0600 Subject: [PATCH] I forget exactly >.> --- vminecraftCommands.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vminecraftCommands.java b/vminecraftCommands.java index 23f03c980..db73fc6b6 100644 --- a/vminecraftCommands.java +++ b/vminecraftCommands.java @@ -366,18 +366,20 @@ public class vminecraftCommands{ Player playerTarget = etc.getServer().matchPlayer(args[0]); //If the player doesn't exist don't run if(playerTarget == null) - return EXIT_SUCCESS; + return EXIT_FAIL; //If the player isn't invulnerable kill them if (!vminecraftSettings.getInstance().isEzModo(playerTarget.getName())) { playerTarget.setHealth(0); - vminecraftChat.gmsg(player.getColor() + player.getName() + Colors.LightBlue + " has slain " + playerTarget.getColor() + playerTarget.getName()); + vminecraftChat.gmsg(vminecraftChat.nameColor(player) + + Colors.LightBlue + " has slain " + + vminecraftChat.nameColor(playerTarget)); //Otherwise output error to the user } else { player.sendMessage(Colors.Rose + "That player is currently in ezmodo! Hahahaha"); } - return EXIT_FAIL; + return EXIT_SUCCESS; } - return EXIT_SUCCESS; + return EXIT_FAIL; } //=====================================================================