Skip to content

Commit 00e860c

Browse files
committed
写反了复制机JEI的注册,小问题
1 parent 980b754 commit 00e860c

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/github/kasuminova/novaeng/client/util

1 file changed

+1
-1
lines changed

src/main/java/github/kasuminova/novaeng/client/util/ExJEI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static void jeiRecipeRegister() {
5757
ItemStack canonicalKey = uniqueKeys.computeIfAbsent(SimpleItem.getInstance(stack), k -> stack);
5858

5959
if (stack == canonicalKey) {
60-
if (item.getValue() == Double.POSITIVE_INFINITY && !isBlock(stack.getItem().getRegistryName().getNamespace())) {
60+
if (item.getValue() != Double.POSITIVE_INFINITY && !isBlock(stack.getItem().getRegistryName().getNamespace())) {
6161
double bValue = item.getValue() / 100000;
6262
new MCJeiRecipe("replicator_jei")
6363
.addInput(CraftTweakerMC.getIItemStack(stack))

0 commit comments

Comments
 (0)