From b83c52a7b1ab8c62e08e765ca6c36f39c00ce454 Mon Sep 17 00:00:00 2001 From: uogem Date: Tue, 4 Feb 2025 19:14:56 -0500 Subject: [PATCH] fix: Spawned items should only decay after unlinked from spawner (#2109) --- Projects/Server/Items/Item.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Server/Items/Item.cs b/Projects/Server/Items/Item.cs index e9be609cc..2a17627ff 100644 --- a/Projects/Server/Items/Item.cs +++ b/Projects/Server/Items/Item.cs @@ -328,7 +328,7 @@ public class Item : IHued, IComparable, ISpawnable, IObjectPropertyListEnt public virtual TimeSpan DecayTime => DefaultDecayTime; [CommandProperty(AccessLevel.GameMaster)] - public virtual bool Decays => Movable && Visible; + public virtual bool Decays => Movable && Visible && Spawner == null; public DateTime LastMoved { get; set; }