diff --git a/src/main/resources/bios.js b/src/main/resources/bios.js index 83dad97..62cbe22 100644 --- a/src/main/resources/bios.js +++ b/src/main/resources/bios.js @@ -35,7 +35,7 @@ var global = this; var pluginYml; function checkClassLoader() { - var classLoader = java.lang.Thread.currentThread().getContextClassLoader(); + var classLoader = java.lang.Thread.currentThread().contextClassLoader; pluginYml = classLoader.getResource("plugin.yml"); if (pluginYml === null) { log.info("==================== ERROR ====================");