Skip to content

Commit 4e0c661

Browse files
voidsong-dragonflyBluSunrize
authored andcommitted
Fix arc furnace secondaries having reversed output chances, closes #6149
Also closes #6156
1 parent 431aab4 commit 4e0c661

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Fix windmills having their insides turn white when far away (BluSunrize)
1111
- Fix command "/ie clearshaders" not working when passing a player reference (BluSunrize)
1212
- Fix internal slot counts for consumed items in the assembler, no longer duplicating buckets of water (BluSunrize)
13+
- Fix arc furnace secondaries having reversed output chances (voidsong-dragonfly)
1314
- Translations Added/Updated: cs_cz.json (RomanPlayer22), zh_cn.json (Cactusstudent, SlimeSB, mc-kaishixiaxue, JustAlkaid)
1415

1516
##### Version 1.20.4-11.6.1-181

src/api/java/blusunrize/immersiveengineering/api/crafting/ArcFurnaceRecipe.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public NonNullList<ItemStack> generateActualOutput(ItemStack input, NonNullList<
9494
actualOutput.set(i, output.get(i).copy());
9595
for(StackWithChance secondary : secondaryOutputs)
9696
{
97-
if(secondary.chance() > random.nextFloat())
97+
if(secondary.chance() < random.nextFloat())
9898
continue;
9999
ItemStack remaining = secondary.stack().get();
100100
for(ItemStack existing : actualOutput)

0 commit comments

Comments
 (0)