Update AbstractGoal.java

Update for the 1.5.2 of bukkit.