mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 20:12:30 +00:00
Fixed a crash
This commit is contained in:
1 parent
093d18e6fa
commit
ca16c64de1
1 file changed
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user