Retain Loot distributed by function when keepinventoryonenter is set to false
Currently, any loot earned via functions is being cleared when exiting a dungeon with keepinventoryonenter set to false. This essentially makes any way to reward players items for entering a "clean slate" dungeon useless as they will not retain any item you give them after exiting.