Fixed a crash and wire names
This commit is contained in:
parent
57caab2062
commit
57ffc071cf
2 changed files with 9 additions and 7 deletions
|
@ -1193,12 +1193,14 @@ public class Mekanism
|
|||
|
||||
if(overrideUERatios)
|
||||
{
|
||||
Compatibility.BC3_RATIO = (float)FROM_BC;
|
||||
Compatibility.TO_BC_RATIO = (float)TO_BC;
|
||||
Compatibility.IC2_RATIO = (float)FROM_IC2;
|
||||
Compatibility.TO_IC2_RATIO = (float)TO_IC2;
|
||||
Compatibility.TE_RATIO = (float)FROM_TE;
|
||||
Compatibility.TO_TE_RATIO = (float)TO_TE;
|
||||
try {
|
||||
Compatibility.BC3_RATIO = (float)FROM_BC;
|
||||
Compatibility.TO_BC_RATIO = (float)TO_BC;
|
||||
Compatibility.IC2_RATIO = (float)FROM_IC2;
|
||||
Compatibility.TO_IC2_RATIO = (float)TO_IC2;
|
||||
Compatibility.TE_RATIO = (float)FROM_TE;
|
||||
Compatibility.TO_TE_RATIO = (float)TO_TE;
|
||||
} catch(Exception e) {}
|
||||
}
|
||||
|
||||
System.out.println("[Mekanism] Hooking complete.");
|
||||
|
|
|
@ -48,7 +48,7 @@ public class ItemPartWire extends JItemMultiPart
|
|||
@Override
|
||||
public String getUnlocalizedName(ItemStack itemStack)
|
||||
{
|
||||
return "tile.Wire." + EnumWireMaterial.values()[itemStack.getItemDamage()].getName();
|
||||
return "tile.Wire." + EnumWireMaterial.values()[itemStack.getItemDamage()].getName() + "Wire";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue