*
This commit is contained in:
parent
dcf46bbd3a
commit
c0737415d5
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user