Fixing hasty commit.
This commit is contained in:
parent
e111599ee8
commit
e886014a4c
@ -1,5 +1,5 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Rate Settings
|
||||
# Karma Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Minimum player karma.
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user