From bb0d92ec36cf80771a16cadec2868e3347625efd Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 11 Oct 2024 00:12:11 +0100 Subject: [PATCH] multiwand: update dangling call to wea.farwand wea.farwand was renamed to worldeditadditions_tools, but this reference wasn't updated at the same time. This commit fixes that. --- worldeditadditions_tools/items/multiwand.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_tools/items/multiwand.lua b/worldeditadditions_tools/items/multiwand.lua index b036c61..afbba48 100644 --- a/worldeditadditions_tools/items/multiwand.lua +++ b/worldeditadditions_tools/items/multiwand.lua @@ -44,7 +44,7 @@ wea_t.register_tool("multiwand", { local player_name = player:get_player_name() wea_c.pos.compat_worldedit_get(player_name) -- print("[farwand] on_use", player_name) - local looking_pos, node_id = wea.farwand.do_raycast(player) + local looking_pos, node_id = wea_t.do_raycast(player) push_pos(player_name, looking_pos) end,