mirror of
https://github.com/otland/forgottenserver
synced 2026-08-15 16:32:07 -04:00
* fix: Convert indentation to tabs on Lua scripts * resolve conversation and changed folder path to keep consistency * Update .editorconfig
8 lines
162 B
Lua
8 lines
162 B
Lua
local handler = PacketHandler(0xD4)
|
|
|
|
function handler.onReceive(player, msg)
|
|
local mount = msg:getByte() ~= 0
|
|
player:toggleMount(mount)
|
|
end
|
|
|
|
handler:register()
|