Core/Commands: Implemented command to teleport character to npc
Port From (https://github.com/TrinityCore/TrinityCore/commit/e93ef06b05c27c7c79b234e331a0d26aa956ba65)
This commit is contained in:
@@ -428,6 +428,10 @@ namespace Game.Entities
|
||||
return GetAreaId(phaseShift, loc.GetMapId(), loc);
|
||||
}
|
||||
|
||||
public uint GetZoneId(PhaseShift phaseShift, uint mapid, Position pos) { return GetZoneId(phaseShift, mapid, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ()); }
|
||||
|
||||
public uint GetZoneId(PhaseShift phaseShift, WorldLocation loc) { return GetZoneId(phaseShift, loc.GetMapId(), loc); }
|
||||
|
||||
public uint GetZoneId(PhaseShift phaseShift, uint mapid, float x, float y, float z)
|
||||
{
|
||||
Map m = CreateBaseMap(mapid);
|
||||
|
||||
Reference in New Issue
Block a user