Update LadderPlayer.java

Added update to liberty in the while loop to prevent crash.