mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-29 15:12:58 -04:00
3.1 Config Refactor
This commit is contained in:
@@ -370,8 +370,7 @@ public class spawner_patrol extends script.base_script
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public boolean canSpawnByConfigSetting() throws InterruptedException {
|
||||
String disableSpawners = getConfigSetting("GameServer", "disablePatrolSpawners");
|
||||
return disableSpawners == null || !(disableSpawners.equals("true") || disableSpawners.equals("1"));
|
||||
return !spawning.PATROL_SPAWNERS_DISABLED;
|
||||
}
|
||||
public int OnDestroy(obj_id self) throws InterruptedException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user