[7470] Fixed possible loot exploit, thanks to leak` for reporting