From 3c9b4545eea461f4c424316a49b8e6933ba15138 Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 18 Jan 2026 17:43:42 -0500 Subject: [PATCH] Admin fix for projectiles --- Services/Admin/Pages/Items/Edit.cshtml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Services/Admin/Pages/Items/Edit.cshtml.cs b/Services/Admin/Pages/Items/Edit.cshtml.cs index 63b618a..21bad75 100644 --- a/Services/Admin/Pages/Items/Edit.cshtml.cs +++ b/Services/Admin/Pages/Items/Edit.cshtml.cs @@ -66,6 +66,8 @@ public class EditModel : AdminPageModel Item.IsEnabled = Request.Form.ContainsKey("Item.IsEnabled"); Item.Stackable = Request.Form.ContainsKey("Item.Stackable"); Item.IsTeleportScroll = Request.Form.ContainsKey("Item.IsTeleportScroll"); + Item.RequiresAmmunition = Request.Form.ContainsKey("Item.RequiresAmmunition"); + Item.IsThrowable = Request.Form.ContainsKey("Item.IsThrowable"); // Ensure nullable strings are never null Item.Description ??= "";