From 453718fa83f0fd900273b7057d1a21a264bca619 Mon Sep 17 00:00:00 2001 From: Vanic Date: Sat, 9 May 2026 23:00:58 +0300 Subject: [PATCH] `core_namespace`: `core.get_item_group`: adding function annotations --- core_namespace.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core_namespace.lua b/core_namespace.lua index 14274c3..313f189 100644 --- a/core_namespace.lua +++ b/core_namespace.lua @@ -2039,6 +2039,9 @@ function core.get_position_from_hash(hash) end --- * Get rating of a group of an item. (`0` means: not in group) --- --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L5654-L5655) +--- @param name string +--- @param group string +--- @return integer function core.get_item_group(name, group) end --- Returns a rating --- * Deprecated: An alias for the former.