mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Core/Instances: Fix order (wrong build) in 57eae1dc13
This commit is contained in:
@@ -2110,7 +2110,7 @@ void Group::ResetInstances(uint8 method, bool isRaid, bool isLegacy, Player* Sen
|
||||
if (SendMsgTo)
|
||||
{
|
||||
if (!isEmpty)
|
||||
SendMsgTo->SendResetInstanceFailed(INSTANCE_RESET_FAILED_OFFLINE, instanceSave->GetMapId());
|
||||
SendMsgTo->SendResetInstanceFailed(INSTANCE_RESET_FAILED, instanceSave->GetMapId());
|
||||
else if (sWorld->getBoolConfig(CONFIG_INSTANCES_RESET_ANNOUNCE))
|
||||
{
|
||||
if (Group* group = SendMsgTo->GetGroup())
|
||||
|
||||
@@ -4950,9 +4950,9 @@ enum RaidGroupReason
|
||||
|
||||
enum ResetFailedReason
|
||||
{
|
||||
INSTANCE_RESET_FAILED_OFFLINE = 0, // "Cannot reset %s. There are players offline in your party."
|
||||
INSTANCE_RESET_FAILED = 0, // "Cannot reset %s. There are players still inside the instance."
|
||||
INSTANCE_RESET_FAILED_ZONING = 1, // "Cannot reset %s. There are players in your party attempting to zone into an instance."
|
||||
INSTANCE_RESET_FAILED = 2 // "Cannot reset %s. There are players still inside the instance."
|
||||
INSTANCE_RESET_FAILED_OFFLINE = 2 // "Cannot reset %s. There are players offline in your party."
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user