Skip to content

Commit

Permalink
update bedesp for new cfg system
Browse files Browse the repository at this point in the history
  • Loading branch information
SymoHTL committed Apr 19, 2024
1 parent 322eb34 commit 257eef4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.4+build.3
loader_version=0.15.9

# Mod Properties
mod_version=1.1.0
mod_version=1.1.2

maven_group=dev.symo.finz
archives_base_name=finz
Expand Down
5 changes: 2 additions & 3 deletions src/client/java/dev/symo/finz/modules/impl/esp/BedESP.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package dev.symo.finz.modules.impl.esp;

import dev.symo.finz.events.listeners.ConfigChangeListener;
import dev.symo.finz.events.listeners.TickListener;
import dev.symo.finz.events.listeners.WorldRenderListener;
import dev.symo.finz.modules.AModule;
Expand All @@ -16,7 +15,7 @@
import java.awt.*;
import java.util.ArrayList;

public class BedESP extends AModule implements ConfigChangeListener, TickListener, WorldRenderListener {
public class BedESP extends AModule implements TickListener, WorldRenderListener {
private final IntSetting _range = new IntSetting("Range", "Range to scan for blocks",
50, 1, 100);

Expand All @@ -29,7 +28,7 @@ public BedESP() {
addSetting(_range);
}

public void onConfigChange() {
protected void onSettingsChanged() {
beds.clear();
}

Expand Down

0 comments on commit 257eef4

Please sign in to comment.