mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix crash when script cache is disabled
Bug report by zeotom on Minecraft Forum. Thanks! + Update supported version info (forgot to do it)
This commit is contained in:
parent
734abe2296
commit
9fc4215924
2 changed files with 3 additions and 4 deletions
|
|
@ -118,8 +118,7 @@ namespace MinecraftClient
|
|||
{
|
||||
try
|
||||
{
|
||||
object compiledScript
|
||||
= CompileCache[scriptHash].CreateInstance("ScriptLoader.Script");
|
||||
object compiledScript = assembly.CreateInstance("ScriptLoader.Script");
|
||||
return
|
||||
compiledScript
|
||||
.GetType()
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ namespace MinecraftClient
|
|||
private static McTcpClient Client;
|
||||
public static string[] startupargs;
|
||||
|
||||
public const string Version = "1.9.1 DEV";
|
||||
public const string Version = "1.10.0 DEV";
|
||||
public const string MCLowestVersion = "1.4.6";
|
||||
public const string MCHighestVersion = "1.9.2";
|
||||
public const string MCHighestVersion = "1.10.0";
|
||||
|
||||
private static Thread offlinePrompt = null;
|
||||
private static bool useMcVersionOnce = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue