Fix cast
This commit is contained in:
parent
ffd2588a63
commit
aa69ba4bdf
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class PacketTransmitterTransferUpdate implements IMekanismPacket
|
||||||
switch(activeType)
|
switch(activeType)
|
||||||
{
|
{
|
||||||
case ENERGY:
|
case ENERGY:
|
||||||
power = (double)data[2];
|
power = (Double)data[2];
|
||||||
break;
|
break;
|
||||||
case GAS:
|
case GAS:
|
||||||
gasName = ((EnumGas)data[2]).name;
|
gasName = ((EnumGas)data[2]).name;
|
||||||
|
|
Loading…
Reference in a new issue