aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
index 5057920c2f..843a35729d 100644
--- a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
+++ b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
@@ -927,14 +927,14 @@ public class GTMTE_LapotronicSuperCapacitor extends
if (avgIn > avgOut) {
// Calculate time to full if charging
if (avgIn != 0) {
- double timeToFull = (capacity.longValue() - stored.longValue()) / avgIn;
+ double timeToFull = (capacity.longValue() - stored.longValue()) / avgIn / 20;
String timeToFullString = formatTime(timeToFull);
ll.add("Time to Full: " + timeToFullString);
}
} else {
// Calculate time to empty if discharging
if (avgOut != 0) {
- double timeToEmpty = stored.longValue() / avgOut;
+ double timeToEmpty = stored.longValue() / avgOut / 20;
String timeToEmptyString = formatTime(timeToEmpty);
ll.add("Time to Empty: " + timeToEmptyString);
}