mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 15:29:10 +00:00
Cache Life Config
This commit is contained in:
1 parent
b21e79b5bb
commit
4f101f05a8
2 files changed
+14
-1
No files matched your search
@@ -13,9 +13,17 @@ public class ConfigClient
|
||||
{
|
||||
public static Configuration config;
|
||||
|
||||
public final static String GENERAL = "General";
|
||||
public final static String VISUAL = "Visual";
|
||||
public final static String QUESTING = "Questing";
|
||||
|
||||
|
||||
/**
|
||||
* General Properties
|
||||
**/
|
||||
public static Property CacheLifeProperty;
|
||||
public static int CacheLife = 10;
|
||||
|
||||
/**
|
||||
* Visual Properties
|
||||
**/
|
||||
@@ -51,6 +59,10 @@ public class ConfigClient
|
||||
{
|
||||
config.load();
|
||||
|
||||
// General
|
||||
CacheLifeProperty = config.get(GENERAL, "Cache Life", 10, "How long should downloaded imagery data be saved client side? (In minutes)");
|
||||
CacheLife = CacheLifeProperty.getInt(10);
|
||||
|
||||
// Visual
|
||||
EnableChatBubblesProperty = config.get(VISUAL, "Enable Chat Bubbles", true, "Enable/Disable Chat Bubbles");
|
||||
EnableChatBubbles = EnableChatBubblesProperty.getBoolean(true);
|
||||
|
||||
Reference in new issue
Block a user