Skip to content

Commit

Permalink
Remove "equality jank" in MapFluidTagIngredient to fix recipes random…
Browse files Browse the repository at this point in the history
…ly not working when server restarts (#1142)
  • Loading branch information
cyb0124 authored Apr 22, 2024
1 parent 171dce7 commit 14f869e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ public boolean equals(Object obj) {
if (super.equals(obj)) {
return tag == ((MapFluidTagIngredient) obj).tag;
}
// equality jank
if (obj instanceof MapFluidIngredient ingredient) {
return ingredient.fluid.is(tag);
}
return false;
}

Expand Down

0 comments on commit 14f869e

Please sign in to comment.