mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01: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 New Issue
Block a user