fixed suicide command (?)
This commit is contained in:
parent
4f275d79fa
commit
5230b25dfd
@ -1,7 +1,6 @@
|
||||
package mineplex.game.clans.clans.commands;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
||||
|
||||
import mineplex.core.command.CommandBase;
|
||||
import mineplex.core.common.Rank;
|
||||
@ -21,6 +20,6 @@ public class KillCommand extends CommandBase<DamageManager>
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Clans", "You have imploded."));
|
||||
|
||||
Plugin.NewDamageEvent(caller, null, null, null, DamageCause.SUICIDE, 1337, false, true, true, "Suicide", "Suicide Command", false);
|
||||
caller.setHealth(0D);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user