update to Bukkit 1.5.2 API

IT CAN NOT WORK WELL NOW!
While generate world,it can make a endless loop and crash the server .