From f06851f57aa981e8f0821d953caf5c354def22d5 Mon Sep 17 00:00:00 2001 From: Mats Date: Thu, 3 Mar 2016 20:37:46 +0100 Subject: [PATCH 1/2] Fix skin overlay --- src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java b/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java index 0224f5401..dfb624e05 100644 --- a/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java +++ b/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java @@ -27,7 +27,7 @@ public enum MetaIndex { STAND_LL_POS(ArmorStand.class, 15, Type.Rotation, NewType.Vector3F), STAND_RL_POS(ArmorStand.class, 16, Type.Rotation, NewType.Vector3F), // human, discountined? - PLAYER_SKIN_FLAGS(HumanEntity.class, 10, Type.Byte, NewType.Discontinued), // unsigned on 1.8 + PLAYER_SKIN_FLAGS(HumanEntity.class, 10, Type.Byte, 12, NewType.Byte), // unsigned on 1.8 PLAYER_HUMAN_BYTE(HumanEntity.class, 16, Type.Byte, NewType.Discontinued), // unused on 1.8 PLAYER_ADDITIONAL_HEARTS(HumanEntity.class, 17, Type.Float, NewType.Discontinued), PLAYER_SCORE(HumanEntity.class, 18, Type.Int, NewType.Discontinued), From e826b339f69abce7925a409db786b71d37e91635 Mon Sep 17 00:00:00 2001 From: Mats Date: Thu, 3 Mar 2016 20:49:29 +0100 Subject: [PATCH 2/2] Fixed missing Player metadata --- src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java b/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java index dfb624e05..0cc37828b 100644 --- a/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java +++ b/src/main/java/us/myles/ViaVersion/metadata/MetaIndex.java @@ -29,8 +29,8 @@ public enum MetaIndex { // human, discountined? PLAYER_SKIN_FLAGS(HumanEntity.class, 10, Type.Byte, 12, NewType.Byte), // unsigned on 1.8 PLAYER_HUMAN_BYTE(HumanEntity.class, 16, Type.Byte, NewType.Discontinued), // unused on 1.8 - PLAYER_ADDITIONAL_HEARTS(HumanEntity.class, 17, Type.Float, NewType.Discontinued), - PLAYER_SCORE(HumanEntity.class, 18, Type.Int, NewType.Discontinued), + PLAYER_ADDITIONAL_HEARTS(HumanEntity.class, 17, Type.Float, 10, NewType.Float), + PLAYER_SCORE(HumanEntity.class, 18, Type.Int, 11, NewType.VarInt), // horse HORSE_INFO(Horse.class, 16, Type.Int, 12, NewType.Byte), HORSE_TYPE(Horse.class, 19, Type.Byte, 13, NewType.VarInt),