3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +01:00

Additional explanation comment

Dieser Commit ist enthalten in:
DoctorMacc 2020-04-07 19:40:35 -04:00
Ursprung 03c611224b
Commit bbf0baf948

Datei anzeigen

@ -52,6 +52,7 @@ public class LlamaEntity extends ChestedHorseEntity {
// Bedrock treats llama decoration as armor
MobArmorEquipmentPacket equipmentPacket = new MobArmorEquipmentPacket();
equipmentPacket.setRuntimeEntityId(getGeyserId());
// -1 means no armor
if ((int) entityMetadata.getValue() != -1) {
// The damage value is the dye color that Java sends us
// Always going to be a carpet so we can hardcode 171