Item UI replacements, fabricator bugfix, randomly spawning artifacts, AI can fix leaks, LimbAttacks do damage once (not each frame for the duration of the attack)
This commit is contained in:
@@ -140,6 +140,8 @@ namespace Barotrauma
|
||||
|
||||
public Item FindItem(string itemName)
|
||||
{
|
||||
if (itemName == null) return null;
|
||||
|
||||
return Items.FirstOrDefault(i => i != null && (i.Name == itemName || i.HasTag(itemName)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user