Skip to content

Commit

Permalink
Update npc_type_functions.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Sep 22, 2023
1 parent d2ab35f commit d40ee19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/functions/creatures/npc/npc_type_functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class NpcTypeFunctions final : LuaScriptInterface {
public:
static void init(lua_State* L) {
registerClass(L, "NpcType", "", NpcTypeFunctions::luaNpcTypeCreate);
registerSharedClass(L, "NpcType", "", NpcTypeFunctions::luaNpcTypeCreate);
registerMetaMethod(L, "NpcType", "__eq", NpcTypeFunctions::luaUserdataCompare);

registerMethod(L, "NpcType", "isPushable", NpcTypeFunctions::luaNpcTypeIsPushable);
Expand Down

0 comments on commit d40ee19

Please sign in to comment.