Update BlockEventListener.java

Sorry for the amount of commit changes, I didnt have the most recently updated version of this file (thanks to ayyy pointing that out) and had to fix a few of the things in this commit, the older ones are outdated and can be ignored.