mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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());
|
||||
break;
|
||||
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;
|
||||
case 10:
|
||||
metadata.put(EntityData.EFFECT_AMBIENT, (byte) ((boolean) entityMetadata.getValue() ? 1 : 0));
|
||||
|
|
Loading…
Reference in a new issue