Fixed more resource locations not working in jar
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / snippets / SubmodelComponentSnippetSuppliers.java
index c640408..7c691a8 100644 (file)
@@ -25,7 +25,7 @@ public class SubmodelComponentSnippetSuppliers
 
        static
        {
-               try (InputStream s = SubmodelComponentSnippetSuppliers.class.getResourceAsStream("./standardSnippetIDMapping.json"))
+               try (InputStream s = SubmodelComponentSnippetSuppliers.class.getResourceAsStream("standardSnippetIDMapping.json"))
                {
                        if (s == null)
                                throw new IOException("Resource not found");