mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02:00
Removed duplicate CommandProcessor. It is held by the Server object now. GetSession by name now ignores case.
This commit is contained in:
parent
e106eafb6c
commit
62daa4db89
3 changed files with 10 additions and 6 deletions
|
@ -25,6 +25,7 @@ namespace FFXIVClassic_Map_Server
|
|||
private Dictionary<uint, Session> mSessionList = new Dictionary<uint, Session>();
|
||||
private LuaEngine mLuaEngine = new LuaEngine();
|
||||
|
||||
private static CommandProcessor mCommandProcessor = new CommandProcessor();
|
||||
private static ZoneConnection mWorldConnection = new ZoneConnection();
|
||||
private static WorldManager mWorldManager;
|
||||
private static Dictionary<uint, Item> mGamedataItems;
|
||||
|
@ -120,7 +121,7 @@ namespace FFXIVClassic_Map_Server
|
|||
{
|
||||
foreach (Session s in mSessionList.Values)
|
||||
{
|
||||
if (s.GetActor().customDisplayName.Equals(name))
|
||||
if (s.GetActor().customDisplayName.ToLower().Equals(name.ToLower()))
|
||||
return s;
|
||||
}
|
||||
return null;
|
||||
|
@ -248,6 +249,11 @@ namespace FFXIVClassic_Map_Server
|
|||
return mSelf;
|
||||
}
|
||||
|
||||
public static CommandProcessor GetCommandProcessor()
|
||||
{
|
||||
return mCommandProcessor;
|
||||
}
|
||||
|
||||
public static ZoneConnection GetWorldConnection()
|
||||
{
|
||||
return mWorldConnection;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue