mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix externally referenced DLLs in scripts
External DLL references weren't being used, this commit fixes them so they are used.
This commit is contained in:
parent
78f9c35800
commit
e006943535
3 changed files with 60 additions and 9 deletions
|
|
@ -105,7 +105,7 @@ namespace MinecraftClient
|
|||
ConsoleIO.WriteLogLine($"[Script] Starting compilation for {scriptName}...");
|
||||
|
||||
//Compile the C# class in memory using all the currently loaded assemblies
|
||||
var result = compiler.Compile(code, Guid.NewGuid().ToString());
|
||||
var result = compiler.Compile(code, Guid.NewGuid().ToString(), dlls);
|
||||
|
||||
//Process compile warnings and errors
|
||||
if (result.Failures != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue