Unstable 0.1500.1.0 (BaroDev edition)
This commit is contained in:
@@ -496,7 +496,7 @@ namespace Barotrauma
|
||||
var itemInSlot = slots[i].First();
|
||||
if (itemInSlot.OwnInventory != null &&
|
||||
!itemInSlot.OwnInventory.Contains(item) &&
|
||||
(itemInSlot.GetComponent<ItemContainer>()?.MaxStackSize ?? 0) == 1 &&
|
||||
(itemInSlot.GetComponent<ItemContainer>()?.GetMaxStackSize(0) ?? 0) == 1 &&
|
||||
itemInSlot.OwnInventory.TrySwapping(0, item, user, createNetworkEvent, swapWholeStack: false))
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user