mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-02-11 14:49:13 +00:00
Improve /invis smite.
This commit is contained in:
parent
716ba57739
commit
49b841acc2
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue