local changes

This commit is contained in:
DeltaNedas 2020-02-01 18:28:25 +00:00 committed by GitHub
parent a45a14025d
commit 51bc5c3b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ public class Scripts implements Disposable{
if(!module.exists() || module.isDirectory()) return null; if(!module.exists() || module.isDirectory()) return null;
return new ModuleSource( return new ModuleSource(
new InputStreamReader(new ByteArrayInputStream((fillWrapper(module)).getBytes())), new InputStreamReader(new ByteArrayInputStream((fillWrapper(module)).getBytes())),
null, module.file().toURI(), null, validator); null, new URI(moduleId), module.parent().file().toURI(), validator);
} }
} }
} }