chore: Fixes variable types for possible performance issues (#2172)

This commit is contained in:
Kamron Batman 2025-05-01 21:54:41 -07:00 • committed by GitHub
parent 6d43f2549c
commit da517f56c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 332 additions and 343 deletions

View file

@ -75,8 +75,10 @@ public abstract partial class BaseClothMaterial : Item, IDyable
}
else
{
Item create = new BoltOfCloth();
create.Hue = m_Material.Hue;
var create = new BoltOfCloth
{
Hue = m_Material.Hue
};
m_Material.Consume();
loom.Phase = 0;
@ -126,4 +128,4 @@ public partial class SpoolOfThread : BaseClothMaterial
public SpoolOfThread(int amount = 1) : base(0xFA0, amount)
{
}
}
}