ItemInventories don't have own ID's anymore but rely on owner ID, relaying reliablemessages through server
This commit is contained in:
@@ -7,8 +7,8 @@ namespace Barotrauma
|
||||
{
|
||||
ItemContainer container;
|
||||
|
||||
public ItemInventory(ItemContainer container, int capacity, Vector2? centerPos = null, int slotsPerRow = 5)
|
||||
: base(capacity, centerPos, slotsPerRow)
|
||||
public ItemInventory(Item owner, ItemContainer container, int capacity, Vector2? centerPos = null, int slotsPerRow = 5)
|
||||
: base(owner, capacity, centerPos, slotsPerRow)
|
||||
{
|
||||
this.container = container;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user