summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-09-20 18:27:10 +0200
committersnowleo <schneeleo@gmail.com>2011-09-20 18:27:26 +0200
commit1a65a31a7e13b80566663dde4ec82c89ec53d81f (patch)
tree8f9b3884d270f899766142dea8be348a24e4a7d9
parent9c998eac2f71dab4fdc89fca5fe33aafff5e0869 (diff)
downloadEssentials-1a65a31a7e13b80566663dde4ec82c89ec53d81f.tar
Essentials-1a65a31a7e13b80566663dde4ec82c89ec53d81f.tar.gz
Essentials-1a65a31a7e13b80566663dde4ec82c89ec53d81f.tar.lz
Essentials-1a65a31a7e13b80566663dde4ec82c89ec53d81f.tar.xz
Essentials-1a65a31a7e13b80566663dde4ec82c89ec53d81f.zip
Heal-Signs sets food level to full and removes fire
Test #938
-rw-r--r--Essentials/src/com/earth2me/essentials/signs/SignHeal.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/SignHeal.java b/Essentials/src/com/earth2me/essentials/signs/SignHeal.java
index 190dfe07c..cc932c5e2 100644
--- a/Essentials/src/com/earth2me/essentials/signs/SignHeal.java
+++ b/Essentials/src/com/earth2me/essentials/signs/SignHeal.java
@@ -27,6 +27,8 @@ public class SignHeal extends EssentialsSign
final Trade charge = getTrade(sign, 1, ess);
charge.isAffordableFor(player);
player.setHealth(20);
+ player.setFoodLevel(20);
+ player.setFireTicks(0);
player.sendMessage(Util.i18n("youAreHealed"));
charge.charge(player);
return true;