Fixed potential multimeter crash
This commit is contained in:
parent
51ed61cb46
commit
27ec5e6de1
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ public class PartMultimeter extends JCuboidPart implements IPacketReceiver, TFac
|
||||||
{
|
{
|
||||||
if (tileEntity instanceof IConductor)
|
if (tileEntity instanceof IConductor)
|
||||||
{
|
{
|
||||||
IEnergyNetwork network = ((IConductor) tileEntity).getNetwork();
|
IEnergyNetwork network = ((IConductor) tileEntity).getInstance(side.getOpposite()).getNetwork();
|
||||||
return network.getLastBuffer();
|
return network.getLastBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue