Fixed errors with newest visual studio.
This commit is contained in:
@@ -310,7 +310,7 @@ namespace Game.Entities
|
|||||||
|
|
||||||
public class PlayerLevelInfo
|
public class PlayerLevelInfo
|
||||||
{
|
{
|
||||||
public ushort[] stats = new ushort[(int)Stats.Max];
|
public int[] stats = new int[(int)Stats.Max];
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PlayerCurrency
|
public class PlayerCurrency
|
||||||
|
|||||||
@@ -1086,6 +1086,9 @@ namespace Game
|
|||||||
|
|
||||||
Log.outInfo(LogFilter.ServerLoading, "Using {0} DBC Locale", m_defaultDbcLocale);
|
Log.outInfo(LogFilter.ServerLoading, "Using {0} DBC Locale", m_defaultDbcLocale);
|
||||||
|
|
||||||
|
// load update time related configs
|
||||||
|
_worldUpdateTime.LoadFromConfig();
|
||||||
|
|
||||||
Global.WorldMgr.SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100));
|
Global.WorldMgr.SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100));
|
||||||
Global.WorldMgr.SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));
|
Global.WorldMgr.SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user