mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 05:48:00 +01:00
Fixed not all wearables being detected
This commit is contained in:
parent
50e83bb930
commit
8aa189f928
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ public interface TriggerPixel<T> {
|
|||
@SuppressWarnings("unchecked")
|
||||
Set<T> values = EnumSet.noneOf((Class<T>)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;
|
||||
|
|
Loading…
Reference in a new issue