Moved the warp and send packet code out of packet processor and into the server object. Rewrote the warp command to use the world manager (still working on it). Add a playmusic command.

This commit is contained in:
Filip Maj 2016-01-19 22:07:29 -05:00
parent d90dc0cb80
commit 3fcc9eea49
3 changed files with 48 additions and 78 deletions

View file

@ -87,8 +87,19 @@ namespace FFXIVClassic_Lobby_Server
Log.error("Could not load packet: " + e);
}
}
else if (split[0].Equals("music"))
{
try
{
server.doMusic(split[1]);
}
catch (Exception e)
{
Log.error("Could not change music: " + e);
}
}
}
else if (split.Length >= 3)
if (split.Length >= 3)
{
if (split[0].Equals("warp"))
{