Explorar o código

Change default value for caching char names - enabled.

JIV %!s(int64=15) %!d(string=hai) anos
pai
achega
2af523ccd5

+ 1 - 1
L2_GameServer/java/com/l2jserver/Config.java

@@ -1680,7 +1680,7 @@ public final class Config
 					MULTIPLE_ITEM_DROP = Boolean.parseBoolean(General.getProperty("MultipleItemDrop", "True"));
 					FORCE_INVENTORY_UPDATE = Boolean.parseBoolean(General.getProperty("ForceInventoryUpdate", "False"));
 					LAZY_CACHE = Boolean.parseBoolean(General.getProperty("LazyCache", "True"));
-					CACHE_CHAR_NAMES = Boolean.parseBoolean(General.getProperty("CacheCharNames", "False"));
+					CACHE_CHAR_NAMES = Boolean.parseBoolean(General.getProperty("CacheCharNames", "True"));
 					MIN_NPC_ANIMATION = Integer.parseInt(General.getProperty("MinNPCAnimation", "10"));
 					MAX_NPC_ANIMATION = Integer.parseInt(General.getProperty("MaxNPCAnimation", "20"));
 					MIN_MONSTER_ANIMATION = Integer.parseInt(General.getProperty("MinMonsterAnimation", "5"));

+ 2 - 2
L2_GameServer/java/config/General.properties

@@ -258,8 +258,8 @@ LazyCache = True
 # Cache all character names in to memory on server startup
 # False - names are loaded from Db when they are requested
 # True - decrease Db usage , increase memory consumption
-# Deafult: False
-CacheCharNames = False
+# Default: True
+CacheCharNames = True
 
 # Minimum and maximum variables in seconds for npc animation delay.
 # You must keep MinNPCAnimation < = MaxNPCAnimation.