mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
Fixed null pointer issue.
This commit is contained in:
Regular → Executable
+2
-1
@@ -205,7 +205,8 @@ public class instance_manager extends script.base_script
|
||||
instance.closeInstance(self);
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
dict.put("player", players);
|
||||
if(players != null)
|
||||
dict.put("player", players);
|
||||
messageTo(self, "validatePlayer", dict, 0.0f, false);
|
||||
int minPlayers = instance.getMinPlayers(self);
|
||||
int numPlayers = instance.getCurrentPopulation(self);
|
||||
|
||||
Reference in New Issue
Block a user