diff --git a/src/main/java/com/silvermoon/boxplusplus/util/BoxRoutings.java b/src/main/java/com/silvermoon/boxplusplus/util/BoxRoutings.java index bf1962f..b08395f 100644 --- a/src/main/java/com/silvermoon/boxplusplus/util/BoxRoutings.java +++ b/src/main/java/com/silvermoon/boxplusplus/util/BoxRoutings.java @@ -592,7 +592,7 @@ public static void checkRouting(GTMachineBox box) { recipeMap = RecipeMaps.replicatorRecipes; Materials replicatorItem = null; for (ItemStack item : ItemInputs) { - if (Behaviour_DataOrb.getDataName(item) == null) continue; + if (Behaviour_DataOrb.getDataName(item).isEmpty()) continue; replicatorItem = Element.get(Behaviour_DataOrb.getDataName(item)).mLinkedMaterials .get(0); break;