Skip to content

Commit

Permalink
small Fix for toggle mount in PacketHandler (#4431)
Browse files Browse the repository at this point in the history
Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
  • Loading branch information
reyaleman and Rey Alemán committed Apr 28, 2023
1 parent 93247d0 commit 39b96d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/scripts/network/toggle_mount.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local handler = PacketHandler(0xD4)

function handler.onReceive(player, msg)
local mount = msg.getByte() ~= 0
local mount = msg:getByte() ~= 0
player:toggleMount(mount)
end

Expand Down

0 comments on commit 39b96d6

Please sign in to comment.