mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-12 03:13:00 -04:00
3.1 Config Refactor
This commit is contained in:
@@ -79,6 +79,8 @@ public class scheduled_drop extends script.base_script
|
||||
"entertainer",
|
||||
"crafter"
|
||||
};
|
||||
public static final boolean SYSTEM_ENABLED = utils.checkConfigFlag("Custom", "enableScheduledDropSystem");
|
||||
|
||||
public static void testingSpam(obj_id self, String str) throws InterruptedException
|
||||
{
|
||||
if (isIdValid(self) && isGod(self) && hasObjVar(self, "qa_tcg"))
|
||||
@@ -496,6 +498,6 @@ public class scheduled_drop extends script.base_script
|
||||
return card;
|
||||
}
|
||||
public static boolean isSystemEnabled() throws InterruptedException {
|
||||
return utils.checkConfigFlag("Custom", "enableScheduledDropSystem");
|
||||
return SYSTEM_ENABLED;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user