[Warnings] Fix

This commit is contained in:
Yunfan Li
2024-07-13 11:39:06 +08:00
parent 266aa1ec88
commit 2d1fc5b932
2 changed files with 7 additions and 5 deletions

View File

@@ -147,6 +147,8 @@ RollVote LootRollAction::CalculateRollVote(ItemTemplate const* proto)
case ITEM_USAGE_VENDOR:
needVote = GREED;
break;
default:
break;
}
return StoreLootAction::IsLootAllowed(proto->ItemId, GET_PLAYERBOT_AI(bot)) ? needVote : PASS;