mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-23 20:08:05 -08:00
Dont update buffs if buff UI is disabled
This commit is contained in:
@@ -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