From 8d7ca5174b835d09f4ecb22f7583bd1a8e171521 Mon Sep 17 00:00:00 2001 From: Natan Date: Thu, 14 Nov 2024 14:26:32 -0300 Subject: [PATCH] Update loader code --- .../github/xpenatan/jparser/loader/JParserLibraryLoader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jParser/loader/loader-teavm/src/main/java/emu/com/github/xpenatan/jparser/loader/JParserLibraryLoader.java b/jParser/loader/loader-teavm/src/main/java/emu/com/github/xpenatan/jparser/loader/JParserLibraryLoader.java index 62e972f..e672a51 100644 --- a/jParser/loader/loader-teavm/src/main/java/emu/com/github/xpenatan/jparser/loader/JParserLibraryLoader.java +++ b/jParser/loader/loader-teavm/src/main/java/emu/com/github/xpenatan/jparser/loader/JParserLibraryLoader.java @@ -43,5 +43,8 @@ public void onFailure(String url) { } }); } + else { + instance.loadScript(libraryName); + } } } \ No newline at end of file