mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 15:28:39 +00:00
fix item exploits
Update VendorComponent.cpp Update Mail.cpp
This commit is contained in:
@@ -14,7 +14,7 @@ void TokenConsoleServer::OnUse(Entity* self, Entity* user) {
|
||||
//make sure the user has the required amount of infected bricks
|
||||
if (inv && inv->GetLotCount(6194) >= bricksToTake) {
|
||||
//yeet the bricks
|
||||
inv->RemoveItem(6194, bricksToTake);
|
||||
inv->RemoveItem(6194, bricksToTake, eInventoryType::ALL);
|
||||
|
||||
//play sound
|
||||
if (self->HasVar(u"sound1")) {
|
||||
|
Reference in New Issue
Block a user