mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Loot: fix small error
This commit is contained in:
@@ -913,10 +913,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
|
||||
case GROUP_PERMISSION:
|
||||
case ROUND_ROBIN_PERMISSION:
|
||||
if (!item.is_blocked)
|
||||
{
|
||||
b << uint8(LOOT_SLOT_TYPE_ALLOW_LOOT);
|
||||
item.is_blocked = true;
|
||||
}
|
||||
else
|
||||
b << uint8(LOOT_SLOT_TYPE_ROLL_ONGOING);
|
||||
break;
|
||||
@@ -972,10 +969,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
|
||||
case GROUP_PERMISSION:
|
||||
case ROUND_ROBIN_PERMISSION:
|
||||
if (!item.is_blocked)
|
||||
{
|
||||
b << uint8(LOOT_SLOT_TYPE_ALLOW_LOOT);
|
||||
item.is_blocked = true;
|
||||
}
|
||||
else
|
||||
b << uint8(LOOT_SLOT_TYPE_ROLL_ONGOING);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user