Open Ristovski opened 3 years ago
Tested both on OpenJDK16 and OpenJDK16-openj9 Also referencing https://github.com/lucko/helper/issues/8.
OpenJDK16
OpenJDK16-openj9
Try adding this line to the very beginning of your script:
const BlockBreakEvent = Java.type("org.bukkit.event.block.BlockBreakEvent")
Tested both on
OpenJDK16
andOpenJDK16-openj9
Also referencing https://github.com/lucko/helper/issues/8.