Fixed a crash

This commit is contained in:
Aidan C. Brady 2015-03-12 23:37:04 -05:00
parent 093d18e6fa
commit ca16c64de1

View file

@ -114,7 +114,10 @@ public class TileEntityTeleporter extends TileEntityElectricBlock implements IPe
frequency = manager.validateFrequency(owner, Coord4D.get(this), frequency);
}
frequency = manager.update(owner, Coord4D.get(this), frequency);
if(frequency != null)
{
frequency = manager.update(owner, Coord4D.get(this), frequency);
}
}
else {
frequency = null;