Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 00:00:41 +01:00
Fix potion effect colors (#951)
Dieser Commit ist enthalten in:
Ursprung
c4db0e2e63
Commit
23f33881cd
@ -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));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren