using directive fix

This commit is contained in:
termigator1359 committed 2020-03-01 15:36:46 -05:00
1 parent a42abc365b
commit bd1ef079de
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override bool AltFunctionUse(Player player)
{
for (int i = 0; i < 1000; i++)
for (int i = 0; i < Main.maxProjectiles; i++)
{
Projectile p = Main.projectile[i];
if (p.type == ModContent.ProjectileType<NychthemeronProjectile>() && p.owner == player.whoAmI)
+1
View File
@@ -2,6 +2,7 @@
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Banners;
using CalamityMod.Items.Tools;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.World;
using Microsoft.Xna.Framework;