Update Warrior.java

I think this is what I'm supposed to do.