mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02:00
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:
parent
d90dc0cb80
commit
3fcc9eea49
3 changed files with 48 additions and 78 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue