From 49b841acc2f2ad8f017b22f67fbcd17d5fca02d4 Mon Sep 17 00:00:00 2001 From: Wilee999 Date: Sun, 16 Feb 2014 10:02:21 -0800 Subject: [PATCH] Improve /invis smite. --- .../StevenLawson/TotalFreedomMod/Commands/Command_invis.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_invis.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_invis.java index 812c38ad..94aefab3 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_invis.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_invis.java @@ -40,7 +40,8 @@ public class Command_invis extends TFM_Command players.add(player.getName()); if (smite && !TFM_SuperadminList.isUserSuperadmin(player)) { - Command_smite.smite(player); + TFM_Util.adminAction(sender.getName(), "Smiting all invisible players", true); + player.setHealth(0.0); smites++; } }