Fixed potential issue with getDroidCommands in space_combat library

This commit is contained in:
seefoe
2018-06-06 15:49:19 -04:00
parent d5cd1a00db
commit 991517fc5d

View File

@@ -1972,7 +1972,7 @@ public class space_combat extends script.base_script
}
}
if (strDroidCommands.size() > 0)
return (String[]) strDroidCommands.toArray();
return (String[]) strDroidCommands.toArray(new String[0]);
return null;
}
public static void grantCapitalShipSequenceRewardsAndCreditForKills(obj_id objDefender) throws InterruptedException