mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 23:31:18 +00:00
fix item exploits
Update VendorComponent.cpp Update Mail.cpp
This commit is contained in:
@@ -39,7 +39,7 @@ void NjColeNPC::OnMissionDialogueOK(Entity* self, Entity* target, int missionID,
|
||||
}
|
||||
|
||||
if (inventoryComponent->GetLotCount(14499) > 0) {
|
||||
inventoryComponent->RemoveItem(14499, 1);
|
||||
inventoryComponent->RemoveItem(14499, 1, eInventoryType::ALL);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user