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.
This commit is contained in:
Starbeamrainbowlabs 2024-10-11 00:12:11 +01:00
parent f2a6b5531a
commit bb0d92ec36
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -44,7 +44,7 @@ wea_t.register_tool("multiwand", {
local player_name = player:get_player_name() local player_name = player:get_player_name()
wea_c.pos.compat_worldedit_get(player_name) wea_c.pos.compat_worldedit_get(player_name)
-- print("[farwand] on_use", 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) push_pos(player_name, looking_pos)
end, end,