mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Items: Add location filters to Player::GetItemByEntry
This commit is contained in:
@@ -44,7 +44,7 @@ uint32 DB2Meta::GetRecordSize() const
|
||||
{
|
||||
for (uint8 j = 0; j < Fields[i].ArraySize; ++j)
|
||||
{
|
||||
if (i >= FileFieldCount && i == ParentIndexField)
|
||||
if (i >= FileFieldCount && int32(i) == ParentIndexField)
|
||||
{
|
||||
size += 4;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user