mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Typo
This commit is contained in:
@@ -164,7 +164,7 @@ local vital_param_type = get_vital_method:get_return_type();
|
|||||||
local get_current_method = vital_param_type:get_method("get_Current");
|
local get_current_method = vital_param_type:get_method("get_Current");
|
||||||
local get_max_method = vital_param_type:get_method("get_Max");
|
local get_max_method = vital_param_type:get_method("get_Max");
|
||||||
|
|
||||||
local get_pos_field = enemy_character_base_type_def:get_method("get_Pos");
|
local get_pos_method = enemy_character_base_type_def:get_method("get_Pos");
|
||||||
|
|
||||||
function this.update_position(enemy, monster)
|
function this.update_position(enemy, monster)
|
||||||
local cached_config = config.current_config.small_monster_UI;
|
local cached_config = config.current_config.small_monster_UI;
|
||||||
@@ -177,7 +177,8 @@ function this.update_position(enemy, monster)
|
|||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
local position = get_pos_field:call(enemy);
|
|
||||||
|
local position = get_pos_method:call(enemy);
|
||||||
if position == nil then
|
if position == nil then
|
||||||
error_handler.report("small_monster.update_position", "Failed to Access Data: position");
|
error_handler.report("small_monster.update_position", "Failed to Access Data: position");
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user