mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-23 20:08:05 -08:00
Hide some errors
This commit is contained in:
@@ -140,7 +140,7 @@ function this.update_servant_list()
|
|||||||
|
|
||||||
local quest_servant_id_list = get_quest_servant_id_list_method:call(singletons.servant_manager);
|
local quest_servant_id_list = get_quest_servant_id_list_method:call(singletons.servant_manager);
|
||||||
if quest_servant_id_list == nil then
|
if quest_servant_id_list == nil then
|
||||||
error_handler.report("non_players.update_servant_list", "Failed to Access Data: quest_servant_id_list");
|
-- error_handler.report("non_players.update_servant_list", "Failed to Access Data: quest_servant_id_list");
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ function this.update_player_list(hunter_info_field_)
|
|||||||
for i = 0, count - 1 do
|
for i = 0, count - 1 do
|
||||||
local player_info = get_item_method:call(player_info_array, i);
|
local player_info = get_item_method:call(player_info_array, i);
|
||||||
if player_info == nil then
|
if player_info == nil then
|
||||||
error_handler.report("players.update_player_list", "Failed to Access Data: player_info No. " .. tostring(i));
|
-- error_handler.report("players.update_player_list", "Failed to Access Data: player_info No. " .. tostring(i));
|
||||||
goto continue;
|
goto continue;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ end
|
|||||||
function this.update_village_area_manager()
|
function this.update_village_area_manager()
|
||||||
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
|
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
|
||||||
if this.village_area_manager == nil then
|
if this.village_area_manager == nil then
|
||||||
error_handler.report("singletons.update_village_area_manager", "Failed to Access Data: village_area_manager");
|
-- error_handler.report("singletons.update_village_area_manager", "Failed to Access Data: village_area_manager");
|
||||||
end
|
end
|
||||||
|
|
||||||
return this.village_area_manager;
|
return this.village_area_manager;
|
||||||
|
|||||||
Reference in New Issue
Block a user