Minetest-WorldEditAdditions/worldeditadditions_core/utils/notify
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
..
notify.lua weac.notify: fix __call 2024-10-17 00:21:42 +01:00
validate.lua Notify, Notify.validate: correct docblock comments so they work with moondoc 2024-10-15 22:36:47 +01:00