diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates')
2 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateBat.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateBat.java index 5eb38597..3d814a6a 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateBat.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateBat.java @@ -16,6 +16,10 @@ public class PredicateBat implements Predicate<Entity> { } @Override + public int hashCode() { + return 0; + } + @Override public boolean equals(Object o) { return o == this || o != null && (o.getClass() == this.getClass()); } diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateSuperBoom.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateSuperBoom.java index 6054c268..0af08114 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateSuperBoom.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates/PredicateSuperBoom.java @@ -14,6 +14,11 @@ public class PredicateSuperBoom implements Predicate<ItemStack> { } @Override + public int hashCode() { + return 0; + } + + @Override public boolean equals(Object o) { return o == this || o != null && (o.getClass() == this.getClass()); } |