From 88d36a9039745d7d017782b0d608ba841b90fb07 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 24 May 2022 13:41:37 -0400 Subject: [PATCH] Scripts/Commands: Include map min height in ".gps" command Port From (https://github.com/TrinityCore/TrinityCore/commit/13bf0e71b94907cc72c3907f9cddc501a7bdb563) --- Source/Game/Chat/Commands/MiscCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Chat/Commands/MiscCommands.cs b/Source/Game/Chat/Commands/MiscCommands.cs index 3782c6a65..b3da654d2 100644 --- a/Source/Game/Chat/Commands/MiscCommands.cs +++ b/Source/Game/Chat/Commands/MiscCommands.cs @@ -969,7 +969,7 @@ namespace Game.Chat } handler.SendSysMessage(CypherStrings.GridPosition, cell.GetGridX(), cell.GetGridY(), cell.GetCellX(), cell.GetCellY(), obj.GetInstanceId(), - zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMap); + zoneX, zoneY, groundZ, floorZ, map.GetMinHeight(obj.GetPhaseShift(), obj.GetPositionX(), obj.GetPositionY()), haveMap, haveVMap, haveMMap); LiquidData liquidStatus; ZLiquidStatus status = map.GetLiquidStatus(obj.GetPhaseShift(), obj.GetPositionX(), obj.GetPositionY(), obj.GetPositionZ(), LiquidHeaderTypeFlags.AllLiquids, out liquidStatus);