mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-10-29 04:24:07 -07:00
Dont update buffs if buff UI is disabled
This commit is contained in:
1 parent
e09c82278d
commit
26966818b3
1 file changed
+4
@@ -113,6 +113,10 @@ function this.init_names()
|
||||
end
|
||||
|
||||
function this.update()
|
||||
if not config.current_config.buff_UI.enabled then
|
||||
return;
|
||||
end
|
||||
|
||||
if singletons.player_manager == nil then
|
||||
error_handler.report("buffs.update", "Failed to access Data: player_manager");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user