Fixed probable getAllyCrestId NPE.
Contributed by Sahar.
This commit is contained in:
@@ -4202,7 +4202,7 @@ public class PlayerInstance extends Playable
|
||||
|
||||
public int getAllyCrestId()
|
||||
{
|
||||
return (_clanId == 0) || (_clan.getAllyId() == 0) ? 0 : _clan.getAllyCrestId();
|
||||
return getAllyId() == 0 ? 0 : _clan.getAllyCrestId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user