Minetest-WorldEditAdditions/worldeditadditions_core/utils
Starbeamrainbowlabs 36a6bf6b49
weac.notify: fix __call
When you do weac.notify(player_name, "info", "msg"), Lua auto-inserts a `self` table which refers to the main `Notify` table there.

This is because `local function call()` is registered via `setmetatable(Notify, ...)`, which auto-inserts `self` as the 1st argument.

To this end, this command adds a dummy 1st argument `_self` to capture this extra table to avoid all args being shifted by 1.
2024-10-17 00:21:42 +01:00
..
format core: tidy up new safe_function implementation; bugfix 2024-10-14 20:46:26 +01:00
io StagedVoxelRegion : ..... I really need to come back and comb through this 2023-11-28 00:40:11 +00:00
notify weac.notify: fix __call 2024-10-17 00:21:42 +01:00
parse tokenise_commands: use @example 2024-10-16 01:00:01 +01:00
strings Merge branch 'feature/pcall-protection' into dev 2024-10-15 20:15:17 +01:00
table Fix some luacheck errors 2024-10-02 01:17:41 +01:00
terrain comments: update 2023-08-03 14:16:14 +01:00
bit.lua comments: update 2023-08-03 14:16:14 +01:00
chaikin.lua comments: update 2023-08-03 14:16:14 +01:00
EventEmitter.lua EventEmitter: fix luacheck error 2023-11-28 00:33:27 +00:00
inspect.lua comments: update 2023-08-03 14:16:14 +01:00
lru.lua comments: update @class definitions 2023-07-02 19:03:46 +01:00
lru_benchmark.lua comments: update 2023-08-03 14:16:14 +01:00
mesh.lua comments: update @class definitions 2023-07-02 19:03:46 +01:00
node_identification.lua comments: update 2023-08-03 14:16:14 +01:00
NodeListMatcher.lua Add //ngroups, which lists the groups a given node is a member of 2023-11-27 23:44:06 +00:00
nodes.lua comments: update 2023-08-03 14:16:14 +01:00
numbers.lua comments: update 2023-08-03 14:16:14 +01:00
orientation.lua Fix some luacheck errors 2024-10-02 01:17:41 +01:00
param2.lua core.param2: add todo reimplement notice 2024-06-05 00:14:17 +01:00
player.lua //speed: fix crash when pova isn't installed 2024-01-01 22:24:49 +00:00
queue.lua comments: update @class definitions 2023-07-02 19:03:46 +01:00
raycast_adv.lua comments: update 2023-08-03 14:16:14 +01:00
rotation.lua typo 2024-09-17 22:56:02 +01:00
set.lua comments: update 2023-08-03 14:16:14 +01:00
setting_handler.lua start working on implementing some kind of system to catch error messages 2024-10-12 01:04:27 +01:00
vector3.lua Initial //orient implementation 2024-06-04 22:49:41 +01:00