Major bugfixes & improvements for v4.1

This commit is contained in:
DJj123dj
2025-11-16 11:23:15 +01:00
parent a89d5c2149
commit da962c6c2e
6 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ export class ODPlugin extends ODManagerData {
if ((this.enabled && !this.crashed) || force){
try{
//import relative plugin directory path (works on windows & unix based systems)
const pluginPath = nodepath.join("../../../../plugins/",this.getStartFile())
const pluginPath = nodepath.join("../../../../plugins/",this.getStartFile()).replaceAll("\\","/")
await import(pluginPath)
debug.console.log("Plugin \""+this.id.value+"\" loaded successfully!","plugin")
this.executed = true