Fixed errors due to changes in UE
This commit is contained in:
parent
f9de98798b
commit
a9c31ce758
3 changed files with 2 additions and 40 deletions
|
@ -25,7 +25,7 @@ public class PartBasicWire extends PartAdvanced implements IConductor
|
|||
@Override
|
||||
public long onReceiveEnergy(ForgeDirection from, long receive, boolean doReceive)
|
||||
{
|
||||
return this.getNetwork().produce(new Vector3(tile()).modifyPositionFromSide(from).getTileEntity(world()), from.getOpposite(), receive, doReceive);
|
||||
return this.getNetwork().produce(this, from.getOpposite(), receive, doReceive);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -138,18 +138,6 @@ public class PartBasicWire extends PartAdvanced implements IConductor
|
|||
return "assembly_line_basic_wire";
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getSavedBuffer()
|
||||
{
|
||||
return this.saveBuffer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSaveBuffer(long energy)
|
||||
{
|
||||
this.saveBuffer = energy;
|
||||
}
|
||||
|
||||
/** NBT Data */
|
||||
@Override
|
||||
public void load(NBTTagCompound nbt)
|
||||
|
|
|
@ -162,18 +162,4 @@ public class TraitConductor extends TileMultipart implements IConductor
|
|||
|
||||
return capacitance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getSavedBuffer()
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSaveBuffer(long energy)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
|
@ -162,7 +162,7 @@ public class TileEntityWire extends TileEntityAdvanced implements IConductor, IS
|
|||
{
|
||||
if (this.canConnect(from) && this.getNetwork() != null)
|
||||
{
|
||||
return this.getNetwork().produce(VectorHelper.getTileEntityFromSide(this.worldObj, new Vector3(this), from.getOpposite()), from.getOpposite(), receive, doReceive);
|
||||
return this.getNetwork().produce(this, from.getOpposite(), receive, doReceive);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -209,18 +209,6 @@ public class TileEntityWire extends TileEntityAdvanced implements IConductor, IS
|
|||
return 1000000;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getSavedBuffer()
|
||||
{
|
||||
return this.saveBuffer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSaveBuffer(long energy)
|
||||
{
|
||||
this.saveBuffer = energy;
|
||||
}
|
||||
|
||||
/** NBT Data */
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound nbt)
|
||||
|
|
Loading…
Reference in a new issue