mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Boiler work, added heat info tab, worked on polishing heat interactions among machines
This commit is contained in:
1 parent
9b9ed0a4c0
commit
87438dcc7f
396 files changed
+1014
-950
No files matched your search
@@ -1160,7 +1160,7 @@ public final class MekanismUtils
|
||||
return LangUtils.localize("gui.infinite");
|
||||
}
|
||||
|
||||
switch(general.activeType)
|
||||
switch(general.energyUnit)
|
||||
{
|
||||
case J:
|
||||
return UnitDisplayUtils.getDisplayShort(energy, ElectricUnit.JOULES);
|
||||
@@ -1182,7 +1182,7 @@ public final class MekanismUtils
|
||||
*/
|
||||
public static double convertToJoules(double energy)
|
||||
{
|
||||
switch(general.activeType)
|
||||
switch(general.energyUnit)
|
||||
{
|
||||
case RF:
|
||||
return energy * general.FROM_TE;
|
||||
@@ -1202,7 +1202,7 @@ public final class MekanismUtils
|
||||
*/
|
||||
public static double convertToDisplay(double energy)
|
||||
{
|
||||
switch(general.activeType)
|
||||
switch(general.energyUnit)
|
||||
{
|
||||
case RF:
|
||||
return energy * general.TO_TE;
|
||||
|
||||
Reference in new issue
Block a user