Merge pull request #139 from Wilee999/patch-4

Improve /invis smite.
This commit is contained in:
Jerom van der Sar 2014-03-18 15:39:26 +01:00
commit 10443ff0d5

View file

@ -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++;
}
}