mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-10 20:29:28 +00:00
Make heal remove fire from players.
This commit is contained in:
parent
d9ee9b036c
commit
bb29d48268
|
@ -72,6 +72,7 @@ public class Commandheal extends EssentialsCommand
|
||||||
{
|
{
|
||||||
player.setHealth(player.getMaxHealth());
|
player.setHealth(player.getMaxHealth());
|
||||||
player.setFoodLevel(20);
|
player.setFoodLevel(20);
|
||||||
|
player.setFireTicks(0);
|
||||||
player.sendMessage(_("heal"));
|
player.sendMessage(_("heal"));
|
||||||
for (PotionEffect effect : player.getActivePotionEffects())
|
for (PotionEffect effect : player.getActivePotionEffects())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue