Update warlistener.java