Total-RP / Total-RP-3

The best roleplaying add-on for World of Warcraft.
http://curse.totalrp.com
Apache License 2.0
36 stars 18 forks source link

lua error if tooltip is disabled #1096

Closed Zwixx closed 4 months ago

Zwixx commented 4 months ago

Describe the issue

if I hover over other players, I get the following error:

233x totalRP3/Core/Configuration.lua:66: Unknown config key: tooltip_show_world_cursor
[string "=[C]"]: in function `assert'
[string "@totalRP3/Core/Configuration.lua"]:66: in function <totalRP3/Core/Configuration.lua:65>
[string "=(tail call)"]: ?
[string "@totalRP3/Modules/Register/Main/RegisterTooltip.lua"]:1462: in function <...s/totalRP3/Modules/Register/Main/RegisterTooltip.lua:1457>
[string "@totalRP3/Modules/Register/Main/RegisterTooltip.lua"]:1472: in function <...s/totalRP3/Modules/Register/Main/RegisterTooltip.lua:1471>
[string "=[C]"]: in function `SetWorldCursor'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:1366: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1289>
[string "=[C]"]: ?

Expected behaviour

No error

Issue checklist

Steps to reproduce

I think it has to do with the option to disable the tooltip. I disabled the trp3-tooltip-module