3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-01 23:50:11 +02:00

Fix potion effect colors (#951)

Dieser Commit ist enthalten in:
AJ Ferguson 2020-07-13 23:17:20 -08:00 committet von GitHub
Ursprung c4db0e2e63
Commit 23f33881cd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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));