mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Improve /invis smite.
This commit is contained in:
parent
716ba57739
commit
49b841acc2
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user