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;