diff --git a/src/main/java/codechicken/nei/NEIClientConfig.java b/src/main/java/codechicken/nei/NEIClientConfig.java index a692152f..f7911af3 100644 --- a/src/main/java/codechicken/nei/NEIClientConfig.java +++ b/src/main/java/codechicken/nei/NEIClientConfig.java @@ -5,7 +5,6 @@ import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; -import java.util.function.Function; import java.util.regex.Pattern; import net.minecraft.client.Minecraft; @@ -21,8 +20,6 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.lwjgl.input.Keyboard; -import com.google.common.base.Objects; - import codechicken.core.CCUpdateChecker; import codechicken.core.ClassDiscoverer; import codechicken.core.ClientUtils; @@ -89,11 +86,6 @@ public class NEIClientConfig { // Any handler not in the map will be assigned to 0, and negative numbers are fine. public static HashMap handlerOrdering = new HashMap<>(); - // Function that extracts the handler ID from a handler, with special logic for - // TemplateRecipeHandler: prefer using the overlay ID if it exists. - public static final Function HANDLER_ID_FUNCTION = handler -> Objects - .firstNonNull(handler.getOverlayIdentifier(), handler.getHandlerId()); - public static int getHandlerOrder(IRecipeHandler handler) { if (handlerOrdering.get(handler.getOverlayIdentifier()) != null) { return handlerOrdering.get(handler.getOverlayIdentifier());