diff --git a/build.gradle b/build.gradle
index dd1dbf9..c7ca42e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -37,11 +37,11 @@ dependencies {
teavm {
compileScopes = null;
- minifying = true;
+ minifying = false;
maxTopLevelNames = 10000;
properties = null;
debugInformationGenerated = false;
- sourceMapsGenerated = true;
+ sourceMapsGenerated = false;
sourceFilesCopied = false;
incremental = false;
transformers = null;
diff --git a/javascript/index.html b/javascript/index.html
index 0dca1aa..60d2c4a 100644
--- a/javascript/index.html
+++ b/javascript/index.html
@@ -1,3 +1,4 @@
+
eagler
diff --git a/src/main/java/net/lax1dude/eaglercraft/ConfigConstants.java b/src/main/java/net/lax1dude/eaglercraft/ConfigConstants.java
index 624fa97..58883e4 100644
--- a/src/main/java/net/lax1dude/eaglercraft/ConfigConstants.java
+++ b/src/main/java/net/lax1dude/eaglercraft/ConfigConstants.java
@@ -4,7 +4,7 @@ public class ConfigConstants {
public static boolean profanity = false;
- public static final String version = "22m03a";
+ public static final String version = "22w03b";
public static final String mainMenuString = "eaglercraft " + version;
public static final String forkMe = "https://github.com/ayunami2000/ayuncraft";
diff --git a/src/teavm/java/net/lax1dude/eaglercraft/adapter/EaglerAdapterImpl2.java b/src/teavm/java/net/lax1dude/eaglercraft/adapter/EaglerAdapterImpl2.java
index 1f34e0c..7e2ac76 100644
--- a/src/teavm/java/net/lax1dude/eaglercraft/adapter/EaglerAdapterImpl2.java
+++ b/src/teavm/java/net/lax1dude/eaglercraft/adapter/EaglerAdapterImpl2.java
@@ -280,15 +280,13 @@ public class EaglerAdapterImpl2 {
execute("window.eagsFileChooser = {\r\n" +
"inputElement: null,\r\n" +
"openFileChooser: function(ext, mime){\r\n" +
- "var el = window.eagsFileChooser.inputElement;\r\n" +
- "if(el == null){\r\n" +
"el = window.eagsFileChooser.inputElement = document.createElement(\"input\");\r\n" +
"el.type = \"file\";\r\n" +
"el.multiple = false;\r\n" +
"el.addEventListener(\"change\", function(evt){\r\n" +
"var f = window.eagsFileChooser.inputElement.files;\r\n" +
"if(f.length == 0){\r\n" +
- "window.eagsFileChooser.getFileChooserResult = new ArrayBuffer(0);\r\n" +
+ "window.eagsFileChooser.getFileChooserResult = null;\r\n" +
"}else{\r\n" +
"(async function(){\r\n" +
"window.eagsFileChooser.getFileChooserResult = await f[0].arrayBuffer();\r\n" +
@@ -296,7 +294,6 @@ public class EaglerAdapterImpl2 {
"})();\r\n" +
"}\r\n" +
"});\r\n" +
- "}\r\n" +
"window.eagsFileChooser.getFileChooserResult = null;\r\n" +
"window.eagsFileChooser.getFileChooserResultName = null;\r\n" +
"el.accept = mime;\r\n" +