From 5b40fdbaba9590c3f0e3cebf25681e259b5cd593 Mon Sep 17 00:00:00 2001
From: Stephane Dallongeville <stephane.dallongeville@pasteur.fr>
Date: Thu, 11 Mar 2021 16:13:49 +0100
Subject: [PATCH] We don't need that check anymore

---
 pom.xml                                                 | 2 +-
 src/main/java/plugins/adufour/blocks/util/BlocksML.java | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 657867e..c96a8bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
     </parent>
 
     <artifactId>protocols</artifactId>
-    <version>3.1.1</version>
+    <version>3.1.2</version>
 
     <packaging>jar</packaging>
 
diff --git a/src/main/java/plugins/adufour/blocks/util/BlocksML.java b/src/main/java/plugins/adufour/blocks/util/BlocksML.java
index c77a0ac..e8c3e33 100644
--- a/src/main/java/plugins/adufour/blocks/util/BlocksML.java
+++ b/src/main/java/plugins/adufour/blocks/util/BlocksML.java
@@ -755,9 +755,9 @@ public class BlocksML
                         "Some plugins required by this protocol are missing,  but no internet connection is available");
 
             // Are we using Icy's plug-in loader (and not Eclipse)?
-            if (getClass().getClassLoader() == ClassLoader.getSystemClassLoader())
-                throw new IcyHandledException(
-                        "Cannot install missing blocks while using Icy4Eclipse in \"Debug\" or \"Run\" modes");
+//            if (getClass().getClassLoader() == ClassLoader.getSystemClassLoader())
+//                throw new IcyHandledException(
+//                        "Cannot install missing blocks while using Icy4Eclipse in \"Debug\" or \"Run\" modes");
 
             // we are live!
             String message = "[Protocols] Installing required plugins...";
-- 
GitLab