mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added some error checking to "sendpacket" command. Changed the packet processor to send correct packets when it receives 0x1CB, 0x1CE, and 0x1D3. Forgot to push latest project file.
This commit is contained in:
@@ -235,8 +235,14 @@ namespace FFXIVClassic_Lobby_Server
|
||||
SubPacket changePropertyPacket = changeProperty.buildPacket((entry.Value.actorID), (entry.Value.actorID));
|
||||
BasePacket packet = BasePacket.createPacket(changePropertyPacket, true, false);
|
||||
packet.debugPrintPacket();
|
||||
entry.Value.getConnection1().queuePacket(packet);
|
||||
entry.Value.getConnection2().queuePacket(packet);
|
||||
if (entry.Value.getConnection1() != null)
|
||||
entry.Value.getConnection1().queuePacket(packet);
|
||||
else
|
||||
Log.error("Connection was null");
|
||||
if (entry.Value.getConnection2() != null)
|
||||
entry.Value.getConnection2().queuePacket(packet);
|
||||
else
|
||||
Log.error("Connection was null");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user