From 76211930d515084c11479d1cf4c4bece74f9d728 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 5 Mar 2024 12:10:15 +0000 Subject: [PATCH] Fixed not all wearables being detected --- .../java/com/minelittlepony/api/pony/meta/TriggerPixel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixel.java b/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixel.java index 2f818adb..6537c926 100644 --- a/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixel.java +++ b/src/main/java/com/minelittlepony/api/pony/meta/TriggerPixel.java @@ -62,8 +62,8 @@ public interface TriggerPixel { @SuppressWarnings("unchecked") Set values = EnumSet.noneOf((Class)def.def().getClass()); if (flagReader.readFlag(ColorHelper.Argb.getRed(color), values) - || flagReader.readFlag(ColorHelper.Argb.getGreen(color), values) - || flagReader.readFlag(ColorHelper.Argb.getBlue(color), values)) { + | flagReader.readFlag(ColorHelper.Argb.getGreen(color), values) + | flagReader.readFlag(ColorHelper.Argb.getBlue(color), values)) { return new Flags<>(def.def(), values, color & 0x00FFFFFF); } return def;