diff --git a/resources/assets/enderio/config/SAGMillRecipes_Core.xml b/resources/assets/enderio/config/SAGMillRecipes_Core.xml
index 3f7b1c46..38b22878 100644
--- a/resources/assets/enderio/config/SAGMillRecipes_Core.xml
+++ b/resources/assets/enderio/config/SAGMillRecipes_Core.xml
@@ -141,6 +141,15 @@ Examples:
+
+
+
+
+
+
+
diff --git a/src/main/java/crazypants/enderio/item/darksteel/EnergyUpgrade.java b/src/main/java/crazypants/enderio/item/darksteel/EnergyUpgrade.java
index 15a9fd8c..df1c43de 100644
--- a/src/main/java/crazypants/enderio/item/darksteel/EnergyUpgrade.java
+++ b/src/main/java/crazypants/enderio/item/darksteel/EnergyUpgrade.java
@@ -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;
}