This commit is contained in:
Jesse Boyd 2017-09-02 00:33:28 +10:00
parent dcf46bbd3a
commit c0737415d5
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -73,7 +73,9 @@ public class ScriptingCommands {
new RhinoCraftScriptEngine(); new RhinoCraftScriptEngine();
} catch (NoClassDefFoundError e) { } catch (NoClassDefFoundError e) {
player.printError("Failed to find an installed script engine."); player.printError("Failed to find an installed script engine.");
player.printError("Please "); player.printError("Download: https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip");
player.printError("Extract: `js.jar` to `plugins` or `mods` directory`");
player.printError("More info: https://github.com/boy0001/CraftScripts/");
return; return;
} }
this.worldEdit.runScript(LocationMaskedPlayerWrapper.unwrap(player), f, scriptArgs); this.worldEdit.runScript(LocationMaskedPlayerWrapper.unwrap(player), f, scriptArgs);