From 82f2731df380415c7f7502d281f44152ff80556a Mon Sep 17 00:00:00 2001 From: murilo09 <78226931+murilo09@users.noreply.github.com> Date: Tue, 31 Dec 2024 14:41:57 -0300 Subject: [PATCH] fix build --- src/lua/functions/items/item_type_functions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/functions/items/item_type_functions.cpp b/src/lua/functions/items/item_type_functions.cpp index 880466be1ea..9c12f80e586 100644 --- a/src/lua/functions/items/item_type_functions.cpp +++ b/src/lua/functions/items/item_type_functions.cpp @@ -285,9 +285,9 @@ int ItemTypeFunctions::luaItemTypeIsQuiver(lua_State* L) { int ItemTypeFunctions::luaItemTypeIsPodium(lua_State* L) { // itemType:isPodium() - const ItemType* itemType = getUserdata(L, 1); + const auto* itemType = Lua::getUserdata(L, 1); if (itemType) { - pushBoolean(L, itemType->isPodium); + Lua::pushBoolean(L, itemType->isPodium); } else { lua_pushnil(L); }