Skip to content

Commit

Permalink
chore: minecraft.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Oct 1, 2024
1 parent 9422498 commit 50abf2c
Show file tree
Hide file tree
Showing 65 changed files with 65 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
2 changes: 1 addition & 1 deletion scrolls/minecraft/forge/1.18/packet_handler/minecraft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
2 changes: 1 addition & 1 deletion scrolls/minecraft/forge/1.19/packet_handler/minecraft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
2 changes: 1 addition & 1 deletion scrolls/minecraft/forge/1.20/packet_handler/minecraft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function decodeLEB128(bytes)
return result, bytesConsumed -- Return both the result and the number of bytes consumed
end

function handle(data)
function handle(ctx, data)
hex = string.tohex(data)

debug_print("Received Packet: " .. hex)
Expand Down
Loading

0 comments on commit 50abf2c

Please sign in to comment.