mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Refactor damage calculations and add additional modifiers
This commit is contained in:
@@ -201,6 +201,8 @@ void Item::SetCount(const uint32_t value, const bool silent, const bool disassem
|
||||
|
||||
count = value;
|
||||
|
||||
InventoryComponent::OnCountChanged(inventory->GetComponent(), this);
|
||||
|
||||
if (count == 0) {
|
||||
RemoveFromInventory();
|
||||
}
|
||||
|
Reference in New Issue
Block a user