Core/Object: Range check, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b717603a9b3a676e800fc401f4544735287791a9)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user