mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
Add red sand -> silicon recipe, possibly fix #1372
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user