Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Additional explanation comment
Dieser Commit ist enthalten in:
Ursprung
03c611224b
Commit
bbf0baf948
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren