mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix opcode definitions
This commit is contained in:
@@ -831,7 +831,7 @@ namespace LuaGlobalFunctions
|
||||
if (opcode >= NUM_MSG_TYPES)
|
||||
return luaL_argerror(L, 1, "valid opcode expected");
|
||||
|
||||
Eluna::Push(L, new WorldPacket((Opcodes)opcode, size));
|
||||
Eluna::Push(L, new WorldPacket((OpcodesList)opcode, size));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user