no fluff on chameleon (#563)

This commit is contained in:
Cinkafox
2023-12-11 12:11:40 +03:00
committed by Aviu00
parent 8ac63954ad
commit d84f0896d5

View File

@@ -84,6 +84,10 @@ public abstract class SharedChameleonClothingSystem : EntitySystem
if (!proto.TryGetComponent(out TagComponent? tags, _factory) || !tags.Tags.Contains("WhitelistChameleon"))
return false;
//WD EDIT
if (proto.EditorSuffix?.ToLower() == "fluff")
return false;
// check if it's valid clothing
if (!proto.TryGetComponent("Clothing", out ClothingComponent? clothing))
return false;