Fixing hasty commit.
This commit is contained in:
parent
e111599ee8
commit
e886014a4c
@ -1,5 +1,5 @@
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Rate Settings
|
# Karma Settings
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
# Minimum player karma.
|
# Minimum player karma.
|
||||||
|
@ -870,14 +870,14 @@ public class PlayerInstance extends Creature
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void reduceCurrentHp(int ammount, Creature attacker)
|
public void reduceCurrentHp(int amount, Creature attacker)
|
||||||
{
|
{
|
||||||
if (isInvul())
|
if (isInvul())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
super.reduceCurrentHp(ammount, attacker);
|
super.reduceCurrentHp(amount, attacker);
|
||||||
if (isDead() && (getPet() != null))
|
if (isDead() && (getPet() != null))
|
||||||
{
|
{
|
||||||
getPet().unSummon(this);
|
getPet().unSummon(this);
|
||||||
@ -899,7 +899,7 @@ public class PlayerInstance extends Creature
|
|||||||
{
|
{
|
||||||
smsg.addString(attacker.getName());
|
smsg.addString(attacker.getName());
|
||||||
}
|
}
|
||||||
smsg.addNumber(ammount);
|
smsg.addNumber(amount);
|
||||||
sendPacket(smsg);
|
sendPacket(smsg);
|
||||||
|
|
||||||
if (!isDead())
|
if (!isDead())
|
||||||
|
Loading…
Reference in New Issue
Block a user