mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
1st commit
This commit is contained in:
@@ -1038,6 +1038,11 @@ void Item::SendUpdateSockets()
|
||||
// time.
|
||||
void Item::SendTimeUpdate(Player* owner)
|
||||
{
|
||||
#ifdef PLAYERBOTS
|
||||
if (!owner || !owner->IsInWorld() || owner->GetPlayerbotAI())
|
||||
return;
|
||||
#endif
|
||||
|
||||
uint32 duration = GetUInt32Value(ITEM_FIELD_DURATION);
|
||||
if (!duration)
|
||||
return;
|
||||
|
||||
@@ -260,7 +260,7 @@ enum SocketColor
|
||||
|
||||
#define SOCKET_COLOR_ALL (SOCKET_COLOR_META | SOCKET_COLOR_RED | SOCKET_COLOR_YELLOW | SOCKET_COLOR_BLUE)
|
||||
|
||||
enum InventoryType
|
||||
enum InventoryType : uint32
|
||||
{
|
||||
INVTYPE_NON_EQUIP = 0,
|
||||
INVTYPE_HEAD = 1,
|
||||
|
||||
Reference in New Issue
Block a user