From 67b62a2067808aaf89d83b40a0076f538e69a045 Mon Sep 17 00:00:00 2001 From: Brian <48810871+TBYT@users.noreply.github.com> Date: Thu, 30 Nov 2023 21:18:17 -0800 Subject: [PATCH] remove unnecessary variable --- src/main/java/com/tbyt/AnimateHeadsForGeyser.java | 2 +- src/main/java/com/tbyt/BedrockParity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/tbyt/AnimateHeadsForGeyser.java b/src/main/java/com/tbyt/AnimateHeadsForGeyser.java index 5a3c1bb..f7faf45 100644 --- a/src/main/java/com/tbyt/AnimateHeadsForGeyser.java +++ b/src/main/java/com/tbyt/AnimateHeadsForGeyser.java @@ -36,7 +36,7 @@ public class AnimateHeadsForGeyser implements Listener { private ArrayList animatedHeads = new ArrayList(); private int radius; - public AnimateHeadsForGeyser(Plugin plugin, int animateHeadBlockDistance, int serverRenderDistance) { + public AnimateHeadsForGeyser(Plugin plugin, int animateHeadBlockDistance) { this.plugin = plugin; radius = animateHeadBlockDistance; } diff --git a/src/main/java/com/tbyt/BedrockParity.java b/src/main/java/com/tbyt/BedrockParity.java index fdcab43..e73bd2b 100644 --- a/src/main/java/com/tbyt/BedrockParity.java +++ b/src/main/java/com/tbyt/BedrockParity.java @@ -47,7 +47,7 @@ public void onEnable() { { getLogger().info("Animating Heads for Bedrock Players is enabled."); int animateHeadBlockDistance = this.getConfig().getInt("animate-head-blocks-distance"); - AnimateHeadsForGeyser animateHeadsForGeyser = new AnimateHeadsForGeyser(this, animateHeadBlockDistance, Bukkit.getViewDistance()); + AnimateHeadsForGeyser animateHeadsForGeyser = new AnimateHeadsForGeyser(this, animateHeadBlockDistance); Bukkit.getPluginManager().registerEvents(animateHeadsForGeyser, this); BukkitScheduler scheduler = getServer().getScheduler(); scheduler.scheduleSyncRepeatingTask(this, new Runnable() {