javax.script.ScriptException: <eval>:3:22 Expected ; but found fetch
var response = await fetch(url);
^ in <eval> at line number 3 at column number 22
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) ~[?:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:530) ~[?:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:517) ~[?:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395) ~[?:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:151) ~[?:?]
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) ~[java.scripting:?]
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluator.execute(NashornScriptEvaluator.java:27) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:120) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onRequest(JavascriptExpansion.java:157) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[?:?]
at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:118) ~[?:?]
at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluate(CommandParse.java:61) ~[?:?]
at me.clip.placeholderapi.commands.PlaceholderCommandRouter.onCommand(PlaceholderCommandRouter.java:114) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Purpur-1171]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172) ~[patched_1.16.5.jar:git-Purpur-1171]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:826) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2315) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2130) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2083) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:49) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:7) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1339) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1332) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1308) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1152) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1171]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: org.openjdk.nashorn.internal.runtime.ParserException: <eval>:3:22 Expected ; but found fetch
var response = await fetch(url);
^
at org.openjdk.nashorn.internal.parser.AbstractParser.error(AbstractParser.java:293) ~[?:?]
at org.openjdk.nashorn.internal.parser.AbstractParser.error(AbstractParser.java:278) ~[?:?]
at org.openjdk.nashorn.internal.parser.AbstractParser.expectDontAdvance(AbstractParser.java:349) ~[?:?]
at org.openjdk.nashorn.internal.parser.AbstractParser.expect(AbstractParser.java:336) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.endOfLine(Parser.java:4969) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.variableDeclarationList(Parser.java:1674) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.variableStatement(Parser.java:1521) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.statement(Parser.java:1033) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.sourceElements(Parser.java:900) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.functionBody(Parser.java:4165) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.functionExpression(Parser.java:3795) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.statement(Parser.java:1090) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.sourceElements(Parser.java:900) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.program(Parser.java:835) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.parse(Parser.java:322) ~[?:?]
at org.openjdk.nashorn.internal.parser.Parser.parse(Parser.java:282) ~[?:?]
at org.openjdk.nashorn.internal.runtime.Context.compile(Context.java:1484) ~[?:?]
at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:1451) ~[?:?]
at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:761) ~[?:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:528) ~[?:?]
... 32 more