3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-30 17:18:10 +02:00

Fix IronGolem cracked texture and sound (#3103)

* Update mappings submodule

* Set IronGolem maxHealth to 100 by default

Fixes cracked texture on vanilla servers

* Add detail to comment
Dieser Commit ist enthalten in:
AJ Ferguson 2022-06-30 17:40:30 -04:00 committet von GitHub
Ursprung 13e8b59ed0
Commit f2f894b1d1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -45,6 +45,9 @@ public class IronGolemEntity extends GolemEntity {
setFlag(EntityFlag.BRIBED, true);
// Required, or else the overlay is black
dirtyMetadata.put(EntityData.COLOR_2, (byte) 0);
// Default max health. Ensures correct cracked texture is used
// Bug reproducible in 1.19.0 JE vanilla/fabric when spawning a new iron golem
maxHealth = 100f;
}
@Nonnull

@ -1 +1 @@
Subproject commit 05009c86fb06ecab0ea4691ec96fc24fdc6c1ee5
Subproject commit 27e9c97df1e9a2f9d1f05359a29181e6ee0810d2