From 6f69b68ec221153b352745183447028eaa929875 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sat, 23 Aug 2014 01:25:26 -0500 Subject: [PATCH] Delete phantom connections, instead of crashing. --- me/GridNode.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/me/GridNode.java b/me/GridNode.java index 2722a8d76..fb0261f95 100644 --- a/me/GridNode.java +++ b/me/GridNode.java @@ -272,7 +272,8 @@ public class GridNode implements IGridNode, IPathItem } else { - throw new GridException( "invalid state found, encountered connection to phantom block." ); + con.destroy(); + // throw new GridException( "invalid state found, encountered connection to phantom block." ); } } else if ( isValidConnection )