解决无法加载自定义事件:修改game_event_creature表中的eventId事件ID类型为 uint32,int8太小了

This commit is contained in:
尚美 2025-08-24 11:29:42 +08:00
parent 62b82c9f8a
commit e6e401dd15

View File

@ -1,4 +1,4 @@
/*
/*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
@ -512,7 +512,7 @@ void GameEventMgr::LoadEventCreatureData()
Field* fields = result->Fetch();
ObjectGuid::LowType guid = fields[0].Get<uint32>();
int16 eventId = fields[1].Get<int8>();
int16 eventId = fields[1].Get<uint32>();
CreatureData const* data = sObjectMgr->GetCreatureData(guid);
if (!data)