From a0a27942919675ff7b9d924d61db82deee5b96c7 Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Fri, 20 Sep 2024 13:35:58 +0200 Subject: [PATCH] Change player parent to living entity base in 1.9/1.12 entity enums (#4154) --- .../viaversion/api/minecraft/entities/EntityTypes1_12.java | 2 +- .../viaversion/api/minecraft/entities/EntityTypes1_9.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_12.java b/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_12.java index 9a63fc145..6a2b140bb 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_12.java +++ b/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_12.java @@ -101,7 +101,7 @@ public class EntityTypes1_12 { LIVING_ENTITY_BASE(ENTITY), ARMOR_STAND(30, LIVING_ENTITY_BASE), - PLAYER(ENTITY), // Needed for entity (un)tracking + PLAYER(LIVING_ENTITY_BASE), // Needed for entity (un)tracking // Living entities as a larger subclass LIVING_ENTITY(LIVING_ENTITY_BASE), diff --git a/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_9.java b/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_9.java index 81545ea6e..f32f53e43 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_9.java +++ b/api/src/main/java/com/viaversion/viaversion/api/minecraft/entities/EntityTypes1_9.java @@ -99,7 +99,7 @@ public class EntityTypes1_9 { LIVING_ENTITY_BASE(ENTITY), ARMOR_STAND(30, LIVING_ENTITY_BASE), - PLAYER(ENTITY), // Needed for entity (un)tracking + PLAYER(LIVING_ENTITY_BASE), // Needed for entity (un)tracking // Living entities as a larger subclass LIVING_ENTITY(48, LIVING_ENTITY_BASE),