diff --git a/mods/ITEMS/mcl_fireworks/register.lua b/mods/ITEMS/mcl_fireworks/register.lua index 5ea31a798..f113a6678 100644 --- a/mods/ITEMS/mcl_fireworks/register.lua +++ b/mods/ITEMS/mcl_fireworks/register.lua @@ -10,7 +10,7 @@ local function register_rocket(n, duration, force) inventory_image = "mcl_fireworks_rocket.png", stack_max = 64, on_use = function(itemstack, user, pointed_thing) - if not user:is_player then return end + if not user:is_player() then return end local elytra = mcl_playerplus.elytra[user:get_player_name()] if elytra.active and elytra.rocketing <= 0 then elytra.rocketing = duration