From fc49a45efe520d9e9ba3e7be7535d02a22276c63 Mon Sep 17 00:00:00 2001 From: Yibo Cao Date: Mon, 22 Apr 2024 03:06:24 -0400 Subject: [PATCH] Remove "equality jank" in MapFluidTagIngredient to fix recipes randomly not working when server restarts --- .../gtceu/api/recipe/lookup/MapFluidTagIngredient.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/gregtechceu/gtceu/api/recipe/lookup/MapFluidTagIngredient.java b/src/main/java/com/gregtechceu/gtceu/api/recipe/lookup/MapFluidTagIngredient.java index 390618b19b..7642accc66 100644 --- a/src/main/java/com/gregtechceu/gtceu/api/recipe/lookup/MapFluidTagIngredient.java +++ b/src/main/java/com/gregtechceu/gtceu/api/recipe/lookup/MapFluidTagIngredient.java @@ -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; }