Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fddd6cdf3fb342b98d4878d23874f60498d7545a)
This commit is contained in:
@@ -91,6 +91,9 @@ namespace Game.Entities
|
||||
_Create(ObjectGuid.Create(HighGuid.DynamicObject, GetMapId(), spell.Id, guidlow));
|
||||
PhasingHandler.InheritPhaseShift(this, caster);
|
||||
|
||||
UpdatePositionData();
|
||||
SetZoneScript();
|
||||
|
||||
SetEntry(spell.Id);
|
||||
SetObjectScale(1f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user