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