mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 01:29:07 +00:00
Fixed crashes with not initialized CustomData
This commit is contained in:
@@ -71,6 +71,8 @@ Object::Object() : m_PackGUID(sizeof(uint64)+1)
|
||||
m_inWorld = false;
|
||||
m_objectUpdated = false;
|
||||
|
||||
CustomData.Set("base",new DataMap::Base); // avoid crash when access not initialized CustomData
|
||||
|
||||
m_PackGUID.appendPackGUID(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user