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

Fix armor not showing if partially armored

Dieser Commit ist enthalten in:
AJ Ferguson 2020-02-13 13:35:07 -09:00
Ursprung 276a8d6485
Commit b18b83fd9a

Datei anzeigen

@ -42,11 +42,11 @@ import org.geysermc.connector.network.session.GeyserSession;
@Setter @Setter
public class LivingEntity extends Entity { public class LivingEntity extends Entity {
protected ItemData helmet; protected ItemData helmet = ItemData.AIR;
protected ItemData chestplate; protected ItemData chestplate = ItemData.AIR;
protected ItemData leggings; protected ItemData leggings = ItemData.AIR;
protected ItemData boots; protected ItemData boots = ItemData.AIR;
protected ItemData hand = ItemData.of(0, (short) 0, 0); protected ItemData hand = ItemData.AIR;
public LivingEntity(long entityId, long geyserId, EntityType entityType, Vector3f position, Vector3f motion, Vector3f rotation) { public LivingEntity(long entityId, long geyserId, EntityType entityType, Vector3f position, Vector3f motion, Vector3f rotation) {
super(entityId, geyserId, entityType, position, motion, rotation); super(entityId, geyserId, entityType, position, motion, rotation);