mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-29 00:43:46 +00:00
[trunk] lightning, not as harsh, will take 5 hearts.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1279 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
aaee159fc9
commit
530fc32515
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ public class Commandlightning extends EssentialsCommand
|
|||
{
|
||||
user.sendMessage("§7Smiting" + p.getDisplayName());
|
||||
world.strikeLightning(p.getLocation());
|
||||
p.setHealth(0);
|
||||
p.setHealth(p.getHealth() - 5);
|
||||
p.sendMessage("§7You have just been smited");
|
||||
}
|
||||
user.charge(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue