3.1 Config Refactor

This commit is contained in:
AconiteGodOfSWG
2021-03-28 16:44:33 -04:00
parent 694a499356
commit 355796dd48
148 changed files with 900 additions and 6277 deletions
@@ -3827,8 +3827,7 @@ public class buff_handler extends script.base_script
}
public int lifedayCompetitiveBuffRemoveBuffHandler(obj_id self, String effectName, String subtype, float duration, float value, String buffName, obj_id caster) throws InterruptedException
{
String lifedayRunning = getConfigSetting("GameServer", "lifeday");
if (lifedayRunning != null && !lifedayRunning.equals("false"))
if (events.isEventActive(events.LIFEDAY))
{
obj_id tatooine = getPlanetByName("tatooine");
setObjVar(self, "lifeday.locked_out", 1);