mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
fix(Core/Groups): fix group enchanting level not resetting properly (#5501)
This commit is contained in:
@@ -450,6 +450,10 @@ bool WorldSession::HandleSocketClosed()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool WorldSession::IsSocketClosed() const {
|
||||
return !m_Socket || m_Socket->IsClosed();
|
||||
}
|
||||
|
||||
void WorldSession::HandleTeleportTimeout(bool updateInSessions)
|
||||
{
|
||||
// pussywizard: handle teleport ack timeout
|
||||
|
||||
@@ -926,6 +926,7 @@ public: // opcodes handlers
|
||||
void SetKicked(bool val) { _kicked = val; }
|
||||
void SetShouldSetOfflineInDB(bool val) { _shouldSetOfflineInDB = val; }
|
||||
bool GetShouldSetOfflineInDB() const { return _shouldSetOfflineInDB; }
|
||||
bool IsSocketClosed() const;
|
||||
|
||||
/***
|
||||
CALLBACKS
|
||||
|
||||
Reference in New Issue
Block a user