Removed unnecessary option

This commit is contained in:
Anuken 2019-12-01 12:50:11 -05:00
parent 0e7c403bd8
commit e66ecb6c90

View File

@ -26,7 +26,7 @@ public class GraalScripts extends Scripts{
hb.denyAccess(c);
}
builder.allowHostAccess(hb.build());
builder.allowExperimentalOptions(true).option("js.syntax-extensions", "true");
builder.allowExperimentalOptions(true);
context = builder.build();
wrapper = Core.files.internal("scripts/wrapper.js").readString();