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
|
@ -63,14 +63,14 @@ namespace FFXIVClassic_Map_Server
|
|||
if (startServer)
|
||||
{
|
||||
Server server = new Server();
|
||||
CommandProcessor cp = new CommandProcessor();
|
||||
|
||||
server.StartServer();
|
||||
|
||||
while (startServer)
|
||||
{
|
||||
String input = Console.ReadLine();
|
||||
Log.Info("[Console Input] " + input);
|
||||
cp.DoCommand(input, null);
|
||||
Server.GetCommandProcessor().DoCommand(input, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue