From 99c9518d7680b80987f14995b33da7863b8a9b55 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 17 Jan 2023 17:04:25 +0100 Subject: [PATCH] Fix ObjectData field --- SpigotCore_Main/src/de/steamwar/entity/REntity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/entity/REntity.java b/SpigotCore_Main/src/de/steamwar/entity/REntity.java index 02c7a5d..16a0d5e 100644 --- a/SpigotCore_Main/src/de/steamwar/entity/REntity.java +++ b/SpigotCore_Main/src/de/steamwar/entity/REntity.java @@ -382,7 +382,7 @@ public class REntity { int index; switch (Core.getVersion()) { case 8: - index = 10; + index = 9; break; case 9: case 14: @@ -392,8 +392,9 @@ public class REntity { case 18: index = 6; break; + case 19: default: - index = 7; + index = 4; break; }