Skip to content

Commit

Permalink
remove deprecated setting
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Nov 29, 2023
1 parent 8048ff6 commit ef3cf19
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class BedTrap implements AnarchyExploitFixesModule, Listener {
private final boolean logIsEnabled;
private final int maxDeathsPerTime;
private final long deathCooldownInMillis;
private final double maxBedDistance;

public BedTrap() {
shouldEnable();
Expand All @@ -32,7 +31,6 @@ public BedTrap() {
this.logIsEnabled = config.getBoolean("preventions.anti-bed-trap.log", false);
this.maxDeathsPerTime = config.getInt("preventions.anti-bed-trap.max-deaths-per-time", 8, "Amount of times player can die until he is determined as bed-trapped.");
this.deathCooldownInMillis = config.getInt("preventions.anti-bed-trap.time-in-seconds", 6, "Time until death counter will be reset again") * 1000L;
this.maxBedDistance = config.getDouble("preventions.anti-bed-trap.max-distance-to-bed", 6.0);
}

@Override
Expand Down

0 comments on commit ef3cf19

Please sign in to comment.