Fix for bukkit crash.