From 6df00d8c7920c4b11365a4ef75d6830b35912d12 Mon Sep 17 00:00:00 2001 From: Vanic Date: Fri, 13 Feb 2026 21:25:18 +0300 Subject: [PATCH] Fix annotations for `core.item_drop` --- core_namespace.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core_namespace.lua b/core_namespace.lua index 890bb15..fed11b1 100644 --- a/core_namespace.lua +++ b/core_namespace.lua @@ -1670,8 +1670,8 @@ function core.item_secondary_use(itemstack, user) end --- * returns the leftover itemstack --- --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L5376-L5378) ---- @param itemstack ItemStack|ItemStackString ---- @param dropper Player|ObjectRef +--- @param itemstack ItemStack +--- @param dropper Player|ObjectRef|nil --- @param pos Position --- @return ItemStack function core.item_drop(itemstack, dropper, pos) end