mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Dont update buffs if buff UI is disabled
This commit is contained in:
@@ -113,6 +113,10 @@ function this.init_names()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function this.update()
|
function this.update()
|
||||||
|
if not config.current_config.buff_UI.enabled then
|
||||||
|
return;
|
||||||
|
end
|
||||||
|
|
||||||
if singletons.player_manager == nil then
|
if singletons.player_manager == nil then
|
||||||
error_handler.report("buffs.update", "Failed to access Data: player_manager");
|
error_handler.report("buffs.update", "Failed to access Data: player_manager");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user