fix: Fixes PotionKeg causing weight issues (#2330)
This commit is contained in:
parent
a9d2b0c01f
commit
f7f1265216
1 changed files with 3 additions and 0 deletions
|
|
@ -31,7 +31,10 @@ public partial class PotionKeg : Item
|
|||
{
|
||||
if (_held != value)
|
||||
{
|
||||
var oldPileWeight = PileWeight;
|
||||
_held = value;
|
||||
var newPileWeight = PileWeight;
|
||||
UpdateTotal(this, TotalType.Weight, newPileWeight - oldPileWeight);
|
||||
InvalidateProperties();
|
||||
this.MarkDirty();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue