diff --git a/core/src/main/java/de/erethon/dungeonsxl/trigger/DistanceTrigger.java b/core/src/main/java/de/erethon/dungeonsxl/trigger/DistanceTrigger.java index 113d4da8..a9d3e6de 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/trigger/DistanceTrigger.java +++ b/core/src/main/java/de/erethon/dungeonsxl/trigger/DistanceTrigger.java @@ -34,8 +34,10 @@ public class DistanceTrigger extends Trigger { private Location loc; public DistanceTrigger(int distance, Location loc) { - if (distance >= 0) { + if (distance >= 2) { this.distance = distance; + } else { + this.distance = 2; } this.loc = loc; }