mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Additional explanation comment
This commit is contained in:
parent
03c611224b
commit
bbf0baf948
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue