ide-helper: small ItemDefinition. LG-1994

This commit is contained in:
alek13
2025-09-26 21:25:47 +03:00
parent 8bcf2ede4f
commit 58455319a3

View File

@@ -193,7 +193,7 @@ local ItemDefinition = {
--- Shall drop item and return the leftover itemstack.
--- The dropper may be any ObjectRef or nil.
--- default: minetest.item_drop
--- @type fun(itemstack:ItemStack, dropper:Player|ObjectRef|nil, pos:Position)?
--- @type (fun(itemstack:ItemStack|ItemStackString, dropper:Player|ObjectRef|nil, pos:Position):ItemStack)?
on_drop = minetest.item_drop,
--- Called when a dropped item is punched by a player.