Fixed a CME with red string interceptors. Closes #1640

This commit is contained in:
Vasco Lavos committed 2015-12-13 01:35:55 +00:00
1 parent 5f272ad837
commit b3e4e43146
1 file changed
+4 -1
@@ -43,7 +43,10 @@ public class TileRedStringInterceptor extends TileRedString {
List<TileRedStringInterceptor> remove = new ArrayList();
boolean did = false;
for(TileRedStringInterceptor inter : interceptors) {
// CMEs are amazing
List<TileRedStringInterceptor> interceptorsCopy = new ArrayList(interceptors);
for(TileRedStringInterceptor inter : interceptorsCopy) {
if(!inter.removeFromList()) {
remove.add(inter);
continue;