Stop depositing quest items
This commit is contained in:
parent
d64bd7b1f7
commit
4a564a60c9
@ -55,6 +55,12 @@ namespace CactusPie.ContainerQuickLoot
|
||||
return true;
|
||||
}
|
||||
|
||||
// This check needs to be done only in game - otherwise we will not be able to receive quest rewards!
|
||||
if (item.QuestItem)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Player player = GetLocalPlayerFromWorld(gameWorld);
|
||||
var inventory = (Inventory)typeof(Player).GetProperty("Inventory", BindingFlags.NonPublic | BindingFlags.Instance)?.GetValue(player);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user