Core/Object: Range check, Needs tested.

Port From (https://github.com/TrinityCore/TrinityCore/commit/b717603a9b3a676e800fc401f4544735287791a9)
This commit is contained in:
hondacrx
2021-12-01 22:57:42 -05:00
parent 112970fb72
commit b4febb11c8
7 changed files with 291 additions and 31 deletions
@@ -555,7 +555,7 @@ namespace Game.Chat
Map map = obj.GetMap();
obj.Relocate(obj.GetPositionX(), obj.GetPositionY(), obj.GetPositionZ());
obj.SetWorldRotationAngles(oz, oy, ox);
obj.SetLocalRotationAngles(oz, oy, ox);
obj.SaveToDB();
// Generate a completely new spawn with new guid