Additional explanation comment

This commit is contained in:
DoctorMacc 2020-04-07 19:40:35 -04:00
parent 03c611224b
commit bbf0baf948

View file

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