diff --git a/README.md b/README.md index ca318bf..af2893f 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,7 @@ A small plugin for Mindustry server. Allows admins to execute JavaScript code. Download the latest release (`.jar`) [here](https://github.com/summetdev/JSEval/releases/latest).
Put `.jar` file to `config/mods` folder. +WARNING: Needs Java 14 installed to use + ## How to use -If you're admin, use `/js ` command. \ No newline at end of file +If you're admin, use `/js ` command. diff --git a/src/main/java/jseval/JSEval.java b/src/main/java/jseval/JSEval.java index 79e2d15..0a4facd 100644 --- a/src/main/java/jseval/JSEval.java +++ b/src/main/java/jseval/JSEval.java @@ -2,10 +2,11 @@ import arc.util.*; import mindustry.gen.*; -import mindustry.mod.Plugin; +import mindustry.mod.*; import static mindustry.Vars.*; +@SuppressWarnings("unused") public class JSEval extends Plugin { @Override