forked from GeyserMC/Geyser
Fix potion effect colors (#951)
This commit is contained in:
parent
c4db0e2e63
commit
23f33881cd
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ public class LivingEntity extends Entity {
|
||||||
metadata.put(EntityData.HEALTH, entityMetadata.getValue());
|
metadata.put(EntityData.HEALTH, entityMetadata.getValue());
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
metadata.put(EntityData.POTION_AUX_VALUE, entityMetadata.getValue()); //TODO: CHECK THIS AND THE BOTTOM ONE
|
metadata.put(EntityData.EFFECT_COLOR, entityMetadata.getValue());
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
metadata.put(EntityData.EFFECT_AMBIENT, (byte) ((boolean) entityMetadata.getValue() ? 1 : 0));
|
metadata.put(EntityData.EFFECT_AMBIENT, (byte) ((boolean) entityMetadata.getValue() ? 1 : 0));
|
||||||
|
|
Loading…
Reference in a new issue