1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00
kawari/resources/scripts/commands/debug/ClassJob.lua
Joshua Goins e6536da9dd Split up the command arguments on the Rust side
This removes some boilerplate code we need in every command to do
this ourselves.

See #65
2025-06-28 10:27:56 -04:00

5 lines
111 B
Lua

required_rank = GM_RANK_DEBUG
function onCommand(args, player)
player:set_classjob(tonumber(args[1]))
end