Fixed a crash
This commit is contained in:
parent
093d18e6fa
commit
ca16c64de1
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue