Merge pull request #370 from EmosewaMC/AdditionOfExtraMissionItem

Fixed a bug where Chaos Cleaner would accidentally add a Maelstrom Dagger to your inventory
This commit is contained in:
Jett 2022-01-14 11:54:08 +00:00 committed by GitHub
commit 3eb319af5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,6 @@ void ImgBrickConsoleQB::OnUse(Entity* self, Entity* user)
if (missionComponent->GetMissionState(1926) == MissionState::MISSION_STATE_ACTIVE)
{
inventoryComponent->RemoveItem(14472, 1);
inventoryComponent->AddItem(14472, 1);
missionComponent->ForceProgressTaskType(1926, 1, 1);
}