Skip to content

Commit

Permalink
fix: NPCs purchase items without capacity check (opentibiabr#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospess0a authored and pasturryx committed Aug 1, 2024
1 parent 87a4da0 commit ea3a118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2362,7 +2362,7 @@ std::tuple<ReturnValue, uint32_t, uint32_t> Game::addItemBatch(const std::shared
if (item->getContainer()) {
containersCreated++;
}
totalAdded++;
totalAdded += item->getItemCount();
}

ret = returnError;
Expand Down

0 comments on commit ea3a118

Please sign in to comment.