From 3fd6218ab6ad77c47f294b7061e8ebc13472b13b Mon Sep 17 00:00:00 2001 From: omarcopires Date: Tue, 7 Jan 2025 11:50:30 -0300 Subject: [PATCH] fix: ensure isPodium check works correctly --- src/lua/functions/items/item_type_functions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lua/functions/items/item_type_functions.cpp b/src/lua/functions/items/item_type_functions.cpp index 9c12f80e586..a1751ed4f15 100644 --- a/src/lua/functions/items/item_type_functions.cpp +++ b/src/lua/functions/items/item_type_functions.cpp @@ -34,6 +34,7 @@ void ItemTypeFunctions::init(lua_State* L) { Lua::registerMethod(L, "ItemType", "isPickupable", ItemTypeFunctions::luaItemTypeIsPickupable); Lua::registerMethod(L, "ItemType", "isKey", ItemTypeFunctions::luaItemTypeIsKey); Lua::registerMethod(L, "ItemType", "isQuiver", ItemTypeFunctions::luaItemTypeIsQuiver); + Lua::registerMethod(L, "ItemType", "isPodium", ItemTypeFunctions::luaItemTypeIsPodium); Lua::registerMethod(L, "ItemType", "getType", ItemTypeFunctions::luaItemTypeGetType); Lua::registerMethod(L, "ItemType", "getId", ItemTypeFunctions::luaItemTypeGetId);