Update AbstractGoal.java

Update for the 1.5.1 of bukkit.