mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
local changes
This commit is contained in:
parent
a45a14025d
commit
51bc5c3b74
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user