Fix projectile code for bukkit update.