6 Commits

Author SHA1 Message Date
Auke Kok
8a700c4b6b Fix missing ) 2021-07-09 22:25:25 -07:00
Auke Kok
6af528b74f Properly check for nil - tonumber will emit it.
This caused a few crashes on people using the creator pad.
2021-07-09 22:23:44 -07:00
Auke Kok
4fdbdc020b player atributes: use player:get_meta() instead. 2021-07-07 21:20:04 -07:00
Auke Kok
cd3c598f25 perks: Fix undefined variable access
Instead of ANAND's suggestion to put this function in the `player` API,
I feel it belongs in the `boxes` API instead, other than that it's
mostly similar to his MR#18.
2019-12-17 10:55:33 -08:00
ANAND
efc6422e3c perks: Fix invalid type-check 2019-12-16 08:47:40 -08:00
Auke Kok
dd78de6412 Move perks code out to separate mod.
This moves the perk code so it can handle offline players
easily. Granted perks are immediate if the player is online
and otherwise granted at login. This avoids any of the issues
with offline players.
2019-12-15 21:43:31 -08:00