Quick fix for #427

This commit is contained in:
Modmuss50 2016-03-28 19:39:10 +01:00
parent 0cb6cf1fc0
commit 30052aac18

View file

@ -318,7 +318,7 @@ public class TRPowerNet
int total = 0;
if (tile.canAcceptEnergy(side) && max > 0)
{
if (type.tier.ordinal() > tile.getTier().ordinal())
if (type.tier.ordinal() > tile.getTier().ordinal() && max > tile.getMaxInput())
{
if (tile instanceof TileEntity)
{