Faction Test 100.10.0.0
This commit is contained in:
@@ -953,6 +953,12 @@ namespace Barotrauma
|
||||
slots[index].RemoveItem(item);
|
||||
}
|
||||
|
||||
public bool IsInSlot(Item item, int index)
|
||||
{
|
||||
if (index < 0 || index >= slots.Length) { return false; }
|
||||
return slots[index].Contains(item);
|
||||
}
|
||||
|
||||
public void SharedRead(IReadMessage msg, out List<ushort>[] newItemIds)
|
||||
{
|
||||
byte slotCount = msg.ReadByte();
|
||||
|
||||
Reference in New Issue
Block a user