Unstable 0.1400.8.0
This commit is contained in:
@@ -4506,7 +4506,7 @@ namespace Barotrauma
|
||||
{
|
||||
var newItem = new Item(itemPrefab, Vector2.Zero, Submarine.MainSub);
|
||||
|
||||
if (inv.CanBePut(itemPrefab, i))
|
||||
if (inv.CanBePutInSlot(itemPrefab, i, condition: null))
|
||||
{
|
||||
bool placedItem = inv.TryPutItem(newItem, i, false, true, dummyCharacter);
|
||||
spawnedItem |= placedItem;
|
||||
|
||||
Reference in New Issue
Block a user