Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: "BlockBreakEvent" is not defined in nashorn:mozilla_compat.js #105

Open
Ristovski opened this issue Jun 29, 2021 · 1 comment

Comments

@Ristovski
Copy link

Tested both on OpenJDK16 and OpenJDK16-openj9
Also referencing #8.

@saifsuleman
Copy link

Try adding this line to the very beginning of your script:

const BlockBreakEvent = Java.type("org.bukkit.event.block.BlockBreakEvent")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants