Check for null _localisations.

This commit is contained in:
MobiusDevelopment
2022-12-10 16:58:49 +00:00
parent bba8642e8c
commit dda1b85e01
58 changed files with 348 additions and 0 deletions
@@ -33316,6 +33316,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -33325,6 +33330,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -14189,6 +14189,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -14198,6 +14203,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -36457,6 +36457,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -36466,6 +36471,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -15830,6 +15830,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -15839,6 +15844,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -38173,6 +38173,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -38182,6 +38187,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -16058,6 +16058,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -16067,6 +16072,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -39733,6 +39733,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -39742,6 +39747,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -16400,6 +16400,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -16409,6 +16414,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -42223,6 +42223,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -42232,6 +42237,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17075,6 +17075,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17084,6 +17089,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -43099,6 +43099,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -43108,6 +43113,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17333,6 +17333,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17342,6 +17347,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -44110,6 +44110,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -44119,6 +44124,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17393,6 +17393,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17402,6 +17407,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -45142,6 +45142,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -45151,6 +45156,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17864,6 +17864,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17873,6 +17878,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -45301,6 +45301,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -45310,6 +45315,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17912,6 +17912,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17921,6 +17926,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -45301,6 +45301,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -45310,6 +45315,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17915,6 +17915,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17924,6 +17929,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -46450,6 +46450,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -46459,6 +46464,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -19445,6 +19445,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -19454,6 +19459,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -46567,6 +46567,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -46576,6 +46581,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -19826,6 +19826,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -19835,6 +19840,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -18021,6 +18021,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -18030,6 +18035,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -9965,6 +9965,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -9974,6 +9979,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -18021,6 +18021,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -18030,6 +18035,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -9965,6 +9965,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -9974,6 +9979,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -18007,6 +18007,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -18016,6 +18021,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -9965,6 +9965,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -9974,6 +9979,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -33373,6 +33373,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -33382,6 +33387,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -14093,6 +14093,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -14102,6 +14107,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -33373,6 +33373,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -33382,6 +33387,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -15830,6 +15830,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -15839,6 +15844,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -34096,6 +34096,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -34105,6 +34110,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -16079,6 +16079,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -16088,6 +16093,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35458,6 +35458,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35467,6 +35472,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -16397,6 +16397,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -16406,6 +16411,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35617,6 +35617,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35626,6 +35631,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17075,6 +17075,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17084,6 +17089,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35758,6 +35758,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35767,6 +35772,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17333,6 +17333,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17342,6 +17347,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35431,6 +35431,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35440,6 +35445,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17660,6 +17660,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17669,6 +17674,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -36004,6 +36004,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -36013,6 +36018,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17474,6 +17474,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17483,6 +17488,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35644,6 +35644,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35653,6 +35658,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -17474,6 +17474,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -17483,6 +17488,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -35461,6 +35461,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -35470,6 +35475,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -16397,6 +16397,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -16406,6 +16411,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -37318,6 +37318,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -37327,6 +37332,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -18752,6 +18752,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -18761,6 +18766,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -37870,6 +37870,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -37879,6 +37884,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -19073,6 +19073,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -19082,6 +19087,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -39247,6 +39247,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -39256,6 +39261,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -19643,6 +19643,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -19652,6 +19657,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }
@@ -40420,6 +40420,11 @@ public class NpcStringId
public NSLocalisation getLocalisation(String lang) public NSLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
NSLocalisation nsl; NSLocalisation nsl;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -40429,6 +40434,7 @@ public class NpcStringId
return nsl; return nsl;
} }
} }
return null; return null;
} }
@@ -20003,6 +20003,11 @@ public class SystemMessageId
public SMLocalisation getLocalisation(String lang) public SMLocalisation getLocalisation(String lang)
{ {
if (_localisations == null)
{
return null;
}
SMLocalisation sml; SMLocalisation sml;
for (int i = _localisations.length; i-- > 0;) for (int i = _localisations.length; i-- > 0;)
{ {
@@ -20012,6 +20017,7 @@ public class SystemMessageId
return sml; return sml;
} }
} }
return null; return null;
} }