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:
@@ -29,7 +29,7 @@ namespace LuaPacket
|
||||
uint32 opcode = Eluna::CHECKVAL<uint32>(L, 2);
|
||||
if (opcode >= NUM_MSG_TYPES)
|
||||
return luaL_argerror(L, 2, "valid opcode expected");
|
||||
packet->SetOpcode((Opcodes)opcode);
|
||||
packet->SetOpcode((OpcodesList)opcode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user