Fixed crash with Non-Bukkit servers