mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Split off ingame commands from server
This commit is contained in:
@@ -68,12 +68,13 @@ namespace FFXIVClassic_Lobby_Server
|
||||
if (startServer)
|
||||
{
|
||||
Server server = new Server();
|
||||
CommandProcessor cp = new CommandProcessor(server.GetConnectedPlayerList());
|
||||
server.startServer();
|
||||
|
||||
while (true)
|
||||
{
|
||||
String input = Console.ReadLine();
|
||||
server.doCommand(input, null);
|
||||
cp.doCommand(input, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user