fix CTD (error 132)

This commit is contained in:
Pinya
2018-07-18 16:56:53 +03:00
parent e16fc4c501
commit ad88970195
+1 -1
View File
@@ -48,7 +48,7 @@ SlashCmdList["FRAME"] = function(arg)
if yOfs then if yOfs then
ChatFrame1:AddMessage("Y: |cffFFD100"..format("%.2f",yOfs)) ChatFrame1:AddMessage("Y: |cffFFD100"..format("%.2f",yOfs))
end end
if relativeTo and relativeTo:GetName() then if relativeTo and arg:GetName() ~= "WorldFrame" and relativeTo:GetName() then
ChatFrame1:AddMessage("Point: |cffFFD100"..point.."|r anchored to "..relativeTo:GetName().."'s |cffFFD100"..relativePoint) ChatFrame1:AddMessage("Point: |cffFFD100"..point.."|r anchored to "..relativeTo:GetName().."'s |cffFFD100"..relativePoint)
end end
ChatFrame1:AddMessage("|cffCC0000----------------------------|r") ChatFrame1:AddMessage("|cffCC0000----------------------------|r")