Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
moddedmcplayer committed Oct 21, 2022
1 parent ecfba32 commit f85b9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hats/API.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit f85b9cf

Please sign in to comment.