fixed suicide command (?)

This commit is contained in:
NewGarbo 2015-11-26 03:24:48 +00:00
parent 4f275d79fa
commit 5230b25dfd

View File

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