This commit is contained in:
Starbeamrainbowlabs 2024-10-11 00:56:17 +01:00
parent b57b3e85ee
commit 90f97234a8
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -84,6 +84,7 @@ local function compat_worldedit_pos2_get(player_name)
end
--- Sets pos1/pos2 in worldedit for compatibility.
-- @internal
-- @param player_name string The name of the player to set the position for.
-- @param i number The index of the position to set.
-- @param pos Vector3 The position to set.
@ -106,6 +107,7 @@ local function compat_worldedit_set(player_name, i, pos, do_update)
end
--- Fetches pos1/pos2 from WorldEdit (if available) and sets them in WorldEditAdditions' postional subsystem
-- @internal
-- @param player_name string The name of the player to sync the positions for.
local function compat_worldedit_get(player_name)
compat_worldedit_pos1_get(player_name)
@ -334,7 +336,6 @@ anchor = wea_c.EventEmitter.new({
set_all = set_all,
unmark = unmark,
mark = mark,
compat_worldedit_get = compat_worldedit_get,
})
anchor.debug = false