Fixed unused parameter warnings

This commit is contained in:
Jürgen Rühle 2024-08-05 17:25:22 +02:00 committed by cora
parent c2166d4ee8
commit 4e3740e8a4

View File

@ -3,7 +3,7 @@ local S = minetest.get_translator(minetest.get_current_modname())
local tt_help = S("Flight Duration:")
local description = S("Firework Rocket")
local function use_rocket(itemstack, user, pointed_thing, duration, force)
local function use_rocket(itemstack, user, _, duration, _)
local elytra = mcl_player.players[user].elytra
if elytra.active and elytra.rocketing <= 0 then
elytra.rocketing = duration