mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna Fix GetObjectType
This commit is contained in:
@@ -893,7 +893,7 @@ public:
|
|||||||
|
|
||||||
// special method to get the object type
|
// special method to get the object type
|
||||||
lua_pushcfunction(L, typeT);
|
lua_pushcfunction(L, typeT);
|
||||||
lua_setfield(L, metatable, "GetObjectType");
|
lua_setfield(L, methods, "GetObjectType");
|
||||||
|
|
||||||
// pop methods and metatable
|
// pop methods and metatable
|
||||||
lua_pop(L, 2);
|
lua_pop(L, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user