mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fix #184
This commit is contained in:
1 parent
78ae04a2a8
commit
a7b8164828
1 file changed
+2
-1
@@ -25,6 +25,7 @@ import javax.script.ScriptEngine;
|
||||
import javax.script.ScriptEngineManager;
|
||||
import javax.script.ScriptException;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
import com.rammelkast.anticheatreloaded.AntiCheatReloaded;
|
||||
@@ -116,7 +117,7 @@ public class ConditionalRule extends Rule {
|
||||
ENGINE = FACTORY.getEngineByName("js");
|
||||
} else {
|
||||
ENGINE = null;
|
||||
AntiCheatReloaded.getManager().getLoggingManager().logToConsole(AntiCheatReloaded.PREFIX + ChatColor.RED
|
||||
Bukkit.getConsoleSender().sendMessage(AntiCheatReloaded.PREFIX + ChatColor.RED
|
||||
+ "Java 15+ currently does not support ACR's rule engine. Rules.yml is disabled.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user