null check

This commit is contained in:
repo_alt committed 2022-07-28 14:19:36 +04:00
1 parent aeb9b6e35a
commit 69fffdcf00
1 file changed
+1 -1
@@ -262,7 +262,7 @@ public class WirelessTerminalGuiObject implements IActionHost, IPortableCell, II
// return this.getTargetGrid().getPivot();
return this.myWap.getActionableNode();
} else {
if (ignoreRange) {
if (ignoreRange && this.getTargetGrid() != null) {
return this.getTargetGrid().getPivot();
}
}