Reuse of stored clan variable.

This commit is contained in:
MobiusDevelopment 2020-01-04 13:59:21 +00:00
parent 9245d3fd2a
commit 28ccce509f
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ public class CreatureSay implements IClientOutgoingPacket
if (clan != null) if (clan != null)
{ {
packet.writeC(_sender.getClan().getCastleId()); packet.writeC(clan.getCastleId());
} }
else else
{ {

View File

@ -183,7 +183,7 @@ public class CreatureSay implements IClientOutgoingPacket
if (clan != null) if (clan != null)
{ {
packet.writeC(_sender.getClan().getCastleId()); packet.writeC(clan.getCastleId());
} }
else else
{ {