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