mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-02 20:11:44 +00:00
Fixing Kill/suicide in creative mode.
This commit is contained in:
parent
dff8f541fe
commit
a2418a68d9
2 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,8 @@ public class Commandkill extends EssentialsCommand
|
|||
continue;
|
||||
}
|
||||
|
||||
matchPlayer.damage(1000);
|
||||
matchPlayer.damage(1000);
|
||||
matchPlayer.setHealth(0);
|
||||
sender.sendMessage(_("kill", matchPlayer.getDisplayName()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue