mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-09-12 22:45:32 -04:00
Fixed issue where the resource child classes could not be found when looking for best resource category (on frog)
This commit is contained in:
@@ -2320,6 +2320,10 @@ public class terminal_character_builder extends script.base_script
|
||||
location loc = getLocation(player);
|
||||
String planet = "current";
|
||||
String[] resourceList = getResourceChildClasses(RESOURCE_BASE_TYPES[idx]);
|
||||
if(resourceList == null){
|
||||
LOG("frog-bestResource", "Could not get child classes for resource (" + RESOURCE_BASE_TYPES[idx] + ")");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
int goodResources = 0;
|
||||
for (String resource : resourceList)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user