Fixing hasty commit.

This commit is contained in:
MobiusDevelopment 2019-11-23 02:08:18 +00:00
parent e111599ee8
commit e886014a4c
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# ---------------------------------------------------------------------------
# Rate Settings
# Karma Settings
# ---------------------------------------------------------------------------
# Minimum player karma.

View File

@ -870,14 +870,14 @@ public class PlayerInstance extends Creature
}
@Override
public void reduceCurrentHp(int ammount, Creature attacker)
public void reduceCurrentHp(int amount, Creature attacker)
{
if (isInvul())
{
return;
}
super.reduceCurrentHp(ammount, attacker);
super.reduceCurrentHp(amount, attacker);
if (isDead() && (getPet() != null))
{
getPet().unSummon(this);
@ -899,7 +899,7 @@ public class PlayerInstance extends Creature
{
smsg.addString(attacker.getName());
}
smsg.addNumber(ammount);
smsg.addNumber(amount);
sendPacket(smsg);
if (!isDead())