diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-15 01:24:50 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-15 01:24:50 +0900 |
commit | 29928dcb024c69e6213a33039253af9a0f872573 (patch) | |
tree | 4eaaaf9b1b668f494c480f8f5449ceee57b3736b /src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/predicates | |
parent | c4448fea149d2638f126813deba6406a7a15d67d (diff) | |
download | Skyblock-Dungeons-Guide-29928dcb024c69e6213a33039253af9a0f872573.tar.gz Skyblock-Dungeons-Guide-29928dcb024c69e6213a33039253af9a0f872573.tar.bz2 Skyblock-Dungeons-Guide-29928dcb024c69e6213a33039253af9a0f872573.zip |
hashcode
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()); } |