Check appearance and option array lengths.

This commit is contained in:
MobiusDevelopment
2020-11-02 23:08:36 +00:00
parent 5a5f71d2c7
commit 494b39a3ab
36 changed files with 180 additions and 36 deletions

View File

@@ -153,7 +153,11 @@ public class OptionData implements IXmlReader
public Options getOptions(int id)
{
return _options[id];
if (_options.length >= id)
{
return _options[id];
}
return null;
}
/**