Update Main.java

Fixed Death Listner!