Fixed levitator crash

This commit is contained in:
Calclavia 2014-03-02 00:36:20 +08:00
parent 983f8a6876
commit 8ae54bb099

View file

@ -141,7 +141,7 @@ public class PartLevitator extends PartFace
public PartLevitator getLink() public PartLevitator getLink()
{ {
return linked != null ? linked.get() : null; return linked != null ? linked.get().world() != null ? linked.get() : null : null;
} }
@Override @Override