Tempfix for untransform not showing stats.

This commit is contained in:
MobiusDev 2018-02-19 13:19:45 +00:00
parent 4ebdc09474
commit cfff2e2fc3
5 changed files with 35 additions and 0 deletions

View File

@ -465,6 +465,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
{
_transform.ifPresent(t -> t.onUntransform(this));
_transform = Optional.empty();
// Mobius: Tempfix for untransform not showing stats.
// Resend UserInfo to player.
if (isPlayer())
{
sendPacket(new UserInfo((L2PcInstance) this));
}
}
public Optional<Transform> getTransformation()

View File

@ -465,6 +465,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
{
_transform.ifPresent(t -> t.onUntransform(this));
_transform = Optional.empty();
// Mobius: Tempfix for untransform not showing stats.
// Resend UserInfo to player.
if (isPlayer())
{
sendPacket(new UserInfo((L2PcInstance) this));
}
}
public Optional<Transform> getTransformation()

View File

@ -465,6 +465,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
{
_transform.ifPresent(t -> t.onUntransform(this));
_transform = Optional.empty();
// Mobius: Tempfix for untransform not showing stats.
// Resend UserInfo to player.
if (isPlayer())
{
sendPacket(new UserInfo((L2PcInstance) this));
}
}
public Optional<Transform> getTransformation()

View File

@ -465,6 +465,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
{
_transform.ifPresent(t -> t.onUntransform(this));
_transform = Optional.empty();
// Mobius: Tempfix for untransform not showing stats.
// Resend UserInfo to player.
if (isPlayer())
{
sendPacket(new UserInfo((L2PcInstance) this));
}
}
public Optional<Transform> getTransformation()

View File

@ -465,6 +465,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
{
_transform.ifPresent(t -> t.onUntransform(this));
_transform = Optional.empty();
// Mobius: Tempfix for untransform not showing stats.
// Resend UserInfo to player.
if (isPlayer())
{
sendPacket(new UserInfo((L2PcInstance) this));
}
}
public Optional<Transform> getTransformation()