From 54be0afa0f4ab1b7c923c21255e9ea4b3fb4a0bf Mon Sep 17 00:00:00 2001 From: Yamato Date: Mon, 30 Dec 2024 00:18:33 +0100 Subject: [PATCH 1/3] Fix-SnowBall-not-being-throwable --- EXILED/Exiled.API/Features/Items/Item.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EXILED/Exiled.API/Features/Items/Item.cs b/EXILED/Exiled.API/Features/Items/Item.cs index c55a6e75ba..61956a1076 100644 --- a/EXILED/Exiled.API/Features/Items/Item.cs +++ b/EXILED/Exiled.API/Features/Items/Item.cs @@ -314,6 +314,7 @@ ItemType.KeycardGuard or ItemType.KeycardJanitor or ItemType.KeycardO5 or ItemTy ItemType.SCP1576 => new Scp1576(), ItemType.SCP1344 => new Scp1344(), ItemType.Jailbird => new Jailbird(), + ItemType.Snowball => new Throwable(ItemType.Snowball), _ => new Item(type), }; From 76806c53be2e35a83bd669e2c26e1655db84a64f Mon Sep 17 00:00:00 2001 From: Yamato Date: Mon, 30 Dec 2024 00:23:13 +0100 Subject: [PATCH 2/3] Not missing Coal --- EXILED/Exiled.API/Features/Items/Item.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Features/Items/Item.cs b/EXILED/Exiled.API/Features/Items/Item.cs index 61956a1076..98a80a6d51 100644 --- a/EXILED/Exiled.API/Features/Items/Item.cs +++ b/EXILED/Exiled.API/Features/Items/Item.cs @@ -314,7 +314,7 @@ ItemType.KeycardGuard or ItemType.KeycardJanitor or ItemType.KeycardO5 or ItemTy ItemType.SCP1576 => new Scp1576(), ItemType.SCP1344 => new Scp1344(), ItemType.Jailbird => new Jailbird(), - ItemType.Snowball => new Throwable(ItemType.Snowball), + ItemType.Snowball or ItemType.Coal or ItemType.SpecialCoal => new Throwable(type), _ => new Item(type), }; From 3b3d84a5254d82584a21ea74503e0d3a571d41f0 Mon Sep 17 00:00:00 2001 From: Yamato Date: Mon, 30 Dec 2024 00:43:24 +0100 Subject: [PATCH 3/3] Fix for Pickup --- EXILED/Exiled.API/Features/Pickups/Pickup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EXILED/Exiled.API/Features/Pickups/Pickup.cs b/EXILED/Exiled.API/Features/Pickups/Pickup.cs index e4ed1b5850..ccc03f2af7 100644 --- a/EXILED/Exiled.API/Features/Pickups/Pickup.cs +++ b/EXILED/Exiled.API/Features/Pickups/Pickup.cs @@ -491,6 +491,7 @@ public static IEnumerable Get(IEnumerable gameObjects) ItemType.SCP1576 => new Scp1576Pickup(), ItemType.SCP2176 => new Projectiles.Scp2176Projectile(), ItemType.SCP018 => new Projectiles.Scp018Projectile(), + ItemType.Snowball or ItemType.Coal or ItemType.SpecialCoal => new Projectile(type), _ => new Pickup(type), };