Skip to content

Commit

Permalink
remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBsng committed Dec 1, 2023
1 parent 3fe7755 commit 67b62a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/tbyt/AnimateHeadsForGeyser.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class AnimateHeadsForGeyser implements Listener {
private ArrayList<Location> animatedHeads = new ArrayList<Location>();
private int radius;

public AnimateHeadsForGeyser(Plugin plugin, int animateHeadBlockDistance, int serverRenderDistance) {
public AnimateHeadsForGeyser(Plugin plugin, int animateHeadBlockDistance) {
this.plugin = plugin;
radius = animateHeadBlockDistance;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tbyt/BedrockParity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 67b62a2

Please sign in to comment.