Fix bukkit crash.