summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-12-13 01:47:58 +0000
committerKHobbits <rob@khobbits.co.uk>2011-12-13 01:47:58 +0000
commitdfa4ecbe4fff8169e5cee040f9e9f12aa9031624 (patch)
tree9f472d9aa3a61230b53df14774e36a64899fefca
parente37ab86c9bf80fcd5fb755e14963cf79638297b4 (diff)
downloadEssentials-dfa4ecbe4fff8169e5cee040f9e9f12aa9031624.tar
Essentials-dfa4ecbe4fff8169e5cee040f9e9f12aa9031624.tar.gz
Essentials-dfa4ecbe4fff8169e5cee040f9e9f12aa9031624.tar.lz
Essentials-dfa4ecbe4fff8169e5cee040f9e9f12aa9031624.tar.xz
Essentials-dfa4ecbe4fff8169e5cee040f9e9f12aa9031624.zip
Inform user that they were healed.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandheal.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandheal.java b/Essentials/src/com/earth2me/essentials/commands/Commandheal.java
index 02b8ed30c..82678c96e 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandheal.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandheal.java
@@ -64,6 +64,8 @@ public class Commandheal extends EssentialsCommand
continue;
}
p.setHealth(20);
+ p.setFoodLevel(20);
+ p.sendMessage(_("heal"));
sender.sendMessage(_("healOther", p.getDisplayName()));
}
}