mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 01:05:12 +00:00
Remove Sync Configs [Now Dependant]
This commit is contained in:
1 parent
aa1db389da
commit
c2fa601955
2 files changed
+117
-154
No files matched your search
@@ -111,19 +111,6 @@ public class ConfigMain
|
||||
public static Property TrackedQuestUpdateFrequencyProperty;
|
||||
public static int TrackedQuestUpdateFrequency = 5;
|
||||
|
||||
/**
|
||||
* Sync Properties
|
||||
**/
|
||||
|
||||
public static Property SyncQuestAutoProperty;
|
||||
public static boolean SyncQuestAuto = true;
|
||||
|
||||
public static Property SyncDialogAutoProperty;
|
||||
public static boolean SyncDialogAuto = true;
|
||||
|
||||
public static Property SyncFactionAutoProperty;
|
||||
public static boolean SyncFactionAuto = true;
|
||||
|
||||
public static void init(File configFile)
|
||||
{
|
||||
config = new Configuration(configFile);
|
||||
@@ -216,16 +203,6 @@ public class ConfigMain
|
||||
TrackedQuestUpdateFrequencyProperty = config.get(UPDATE, "Tracked Quest Update Frequency", 5, "How often in seconds to update a players tracked quest. [Only applies to Item Quest currently]");
|
||||
TrackedQuestUpdateFrequency = TrackedQuestUpdateFrequencyProperty.getInt(5);
|
||||
|
||||
// Sync
|
||||
SyncQuestAutoProperty = config.get(SYNC, "Auto Sync Quest Data", true, "If enabled client will all Quest Data upon joining the world");
|
||||
SyncQuestAuto = SyncQuestAutoProperty.getBoolean(true);
|
||||
|
||||
SyncDialogAutoProperty = config.get(SYNC, "Auto Sync Dialog Data", true, "If enabled client will all Dialog Data upon joining the world");
|
||||
SyncDialogAuto = SyncDialogAutoProperty.getBoolean(true);
|
||||
|
||||
SyncFactionAutoProperty = config.get(SYNC, "Auto Sync Faction Data", true, "If enabled client will all Faction Data upon joining the world");
|
||||
SyncFactionAuto = SyncFactionAutoProperty.getBoolean(true);
|
||||
|
||||
// Convert to Legacy
|
||||
if(CustomNpcs.legacyExist){
|
||||
EnableUpdateChecker = LegacyConfig.EnableUpdateChecker;
|
||||
|
||||
Reference in new issue
Block a user