Core/Instance: remove wrong raid-only restriction in the logic that kicks offline players out of instances when the instance is reset.

Port From (https://github.com/TrinityCore/TrinityCore/commit/a2b1b3e2aad4f2ecfbf156d96890c1ecde678c11)
This commit is contained in:
hondacrx
2022-01-01 17:06:19 -05:00
parent 2842cc9c91
commit 942feb2c3e
+1 -1
View File
@@ -2039,7 +2039,7 @@ namespace Game.Groups
// do not reset the instance, just unbind if others are permanently bound to it // do not reset the instance, just unbind if others are permanently bound to it
if (instanceSave.CanReset()) if (instanceSave.CanReset())
{ {
if (map != null && IsRaidGroup() && map.IsDungeon() && SendMsgTo) if (map != null && map.IsDungeon() && SendMsgTo)
{ {
AreaTriggerStruct instanceEntrance = Global.ObjectMgr.GetGoBackTrigger(map.GetId()); AreaTriggerStruct instanceEntrance = Global.ObjectMgr.GetGoBackTrigger(map.GetId());