Fix tesseract compatibility
This commit is contained in:
parent
87de087df9
commit
527ec1b171
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ public class EnergyNetwork extends DynamicNetwork<TileEntity, EnergyNetwork>
|
||||||
|
|
||||||
if(handler.canInterface(side.getOpposite()))
|
if(handler.canInterface(side.getOpposite()))
|
||||||
{
|
{
|
||||||
if(handler.getMaxEnergyStored(side.getOpposite()) - handler.getEnergyStored(side.getOpposite()) > 0)
|
if(handler.getMaxEnergyStored(side.getOpposite()) - handler.getEnergyStored(side.getOpposite()) > 0 || handler.receiveEnergy(side.getOpposite(), 1, true) > 0)
|
||||||
{
|
{
|
||||||
toReturn.add(acceptor);
|
toReturn.add(acceptor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue