From f4842163c62ecd77c3134656a7947b12e332c68c Mon Sep 17 00:00:00 2001 From: Sakura Ryoko Date: Sat, 11 Jan 2025 21:27:15 -0500 Subject: [PATCH] Looks ok now --- .../fi/dy/masa/tweakeroo/util/CameraEntity.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/fi/dy/masa/tweakeroo/util/CameraEntity.java b/src/main/java/fi/dy/masa/tweakeroo/util/CameraEntity.java index 1f92f26a8..a5a2128d5 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/util/CameraEntity.java +++ b/src/main/java/fi/dy/masa/tweakeroo/util/CameraEntity.java @@ -37,6 +37,21 @@ public boolean isSpectator() return true; } + /** + * Apparently, some mods complain about us not returning an entityId + * @return (id) + */ + @Override + public int getId() + { + if (originalCameraEntity != null) + { + return originalCameraEntity.getId(); + } + + return super.getId(); + } + public static void movementTick() { CameraEntity camera = getCamera();