mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
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:
commit
3eb319af5b
@ -96,7 +96,6 @@ void ImgBrickConsoleQB::OnUse(Entity* self, Entity* user)
|
|||||||
if (missionComponent->GetMissionState(1926) == MissionState::MISSION_STATE_ACTIVE)
|
if (missionComponent->GetMissionState(1926) == MissionState::MISSION_STATE_ACTIVE)
|
||||||
{
|
{
|
||||||
inventoryComponent->RemoveItem(14472, 1);
|
inventoryComponent->RemoveItem(14472, 1);
|
||||||
inventoryComponent->AddItem(14472, 1);
|
|
||||||
|
|
||||||
missionComponent->ForceProgressTaskType(1926, 1, 1);
|
missionComponent->ForceProgressTaskType(1926, 1, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user