From f85b9cf3eb6f31e48a55170bd3b0f4547e5d6dba Mon Sep 17 00:00:00 2001 From: moddedmcplayer <76910334+moddedmcplayer@users.noreply.github.com> Date: Fri, 21 Oct 2022 15:51:51 +0200 Subject: [PATCH] whoops --- hats/API.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hats/API.cs b/hats/API.cs index 5c43eed..648ebf0 100644 --- a/hats/API.cs +++ b/hats/API.cs @@ -92,9 +92,9 @@ public static void AddHat(this Player ply, Hat hat) foreach (var player in Player.List) { if (!Plugin.Singleton.Config.RolesToHideHatFrom.Contains(player.Role.Type)) - return; + continue; if (player == ply) - return; + continue; player.DestroySchematic(obj); } });