mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Fixed not all wearables being detected
This commit is contained in:
parent
aa08f12320
commit
76211930d5
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ public interface TriggerPixel<T> {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
Set<T> values = EnumSet.noneOf((Class<T>)def.def().getClass());
|
Set<T> values = EnumSet.noneOf((Class<T>)def.def().getClass());
|
||||||
if (flagReader.readFlag(ColorHelper.Argb.getRed(color), values)
|
if (flagReader.readFlag(ColorHelper.Argb.getRed(color), values)
|
||||||
|| flagReader.readFlag(ColorHelper.Argb.getGreen(color), values)
|
| flagReader.readFlag(ColorHelper.Argb.getGreen(color), values)
|
||||||
|| flagReader.readFlag(ColorHelper.Argb.getBlue(color), values)) {
|
| flagReader.readFlag(ColorHelper.Argb.getBlue(color), values)) {
|
||||||
return new Flags<>(def.def(), values, color & 0x00FFFFFF);
|
return new Flags<>(def.def(), values, color & 0x00FFFFFF);
|
||||||
}
|
}
|
||||||
return def;
|
return def;
|
||||||
|
|
Loading…
Reference in a new issue