From 8ae54bb09976fb699f81881d502109f9beb8a0ac Mon Sep 17 00:00:00 2001 From: Calclavia Date: Sun, 2 Mar 2014 00:36:20 +0800 Subject: [PATCH] Fixed levitator crash --- .../resonantinduction/electrical/levitator/PartLevitator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrical/src/main/java/resonantinduction/electrical/levitator/PartLevitator.java b/electrical/src/main/java/resonantinduction/electrical/levitator/PartLevitator.java index fcada6bca..d849a611c 100644 --- a/electrical/src/main/java/resonantinduction/electrical/levitator/PartLevitator.java +++ b/electrical/src/main/java/resonantinduction/electrical/levitator/PartLevitator.java @@ -141,7 +141,7 @@ public class PartLevitator extends PartFace public PartLevitator getLink() { - return linked != null ? linked.get() : null; + return linked != null ? linked.get().world() != null ? linked.get() : null : null; } @Override