Add red sand -> silicon recipe, possibly fix #1372

This commit is contained in:
tterrag1098 committed 2014-12-09 03:10:28 -05:00
1 parent 2410d6f844
commit fa42941604
2 files changed
+10 -1

No files matched your search

@@ -219,7 +219,7 @@ public class EnergyUpgrade extends AbstractUpgrade {
}
public boolean isAbsorbDamageWithPower(ItemStack stack) {
boolean res= RANDOM.nextFloat() < getAbsorptionRatio(stack);
boolean res= RANDOM.nextDouble() < getAbsorptionRatio(stack);
return res;
}