Fixed Bug: #0641 - Redstone P2P Crash

Fixed an issue where tunnels would de-register if linked a certain way.
This commit is contained in:
AlgorithmX2
2014-07-14 23:47:07 -05:00
parent 675d068934
commit e1d3fdb8d7
3 changed files with 38 additions and 16 deletions
+10
View File
@@ -34,4 +34,14 @@ public class TunnelCollection<T extends PartP2PTunnel> implements Iterable<T>
{
return !iterator().hasNext();
}
public boolean matches(Class<? extends PartP2PTunnel> c)
{
return clz == c;
}
public Class<? extends PartP2PTunnel> getClz()
{
return clz;
}
}