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
  • Loading branch information
cyb0124 committed Apr 22, 2024
1 parent 8fdcb60 commit fc49a45
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 fc49a45

Please sign in to comment.