diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java index e1eba8b7..ff26fe20 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionKill.java @@ -1,9 +1,11 @@ package kr.syeyoung.dungeonsguide.dungeon.actions; import com.google.common.base.Predicate; +import com.google.common.base.Predicates; import kr.syeyoung.dungeonsguide.dungeon.data.OffsetPoint; import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoom; import lombok.Data; +import lombok.EqualsAndHashCode; import net.minecraft.entity.Entity; import java.util.HashSet; @@ -13,7 +15,7 @@ import java.util.Set; public class ActionKill implements Action { private Set<Action> preRequisite = new HashSet<Action>(); private OffsetPoint target; - private Predicate<Entity> predicate; + private Predicate<Entity> predicate = Predicates.alwaysFalse(); private int radius; public ActionKill(OffsetPoint target) { |