mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-22 03:50:04 +00:00
Disallow selling Croc-Potted items
Also, make sure to explicitly terminate the connection when a player is kicked, and align a few fields in tables.sql.
This commit is contained in:
@@ -1082,6 +1082,9 @@ void PlayerManager::kickPlayer(CNSocket *sock, CNPacketData *data) {
|
||||
|
||||
// send to target player
|
||||
otherSock->sendPacket((void*)&response, P_FE2CL_REP_PC_EXIT_SUCC, sizeof(sP_FE2CL_REP_PC_EXIT_SUCC));
|
||||
|
||||
// ensure that the connection has terminated
|
||||
otherSock->kill();
|
||||
}
|
||||
|
||||
void PlayerManager::warpToPlayer(CNSocket *sock, CNPacketData *data) {
|
||||
|
||||
Reference in New Issue
Block a user