Changed form the @PreInit,@Init,@PostInit to the @EventHandler and replaced the imports
Just added a Suppresswarnings type unused!Don´t Ask why!