Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information