Fix Fox Pistol crashes.
This commit is contained in:
@@ -83,7 +83,7 @@ public class FoxPistol : ModItem
|
|||||||
Item.damage = 22;
|
Item.damage = 22;
|
||||||
Item.shoot = ModContent.ProjectileType<OrangeBolt>();
|
Item.shoot = ModContent.ProjectileType<OrangeBolt>();
|
||||||
}
|
}
|
||||||
return CanUseItem(player);
|
return base.CanUseItem(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void AddRecipes()
|
public override void AddRecipes()
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ public class FoxPistolBlue : ModItem
|
|||||||
Item.damage = 22;
|
Item.damage = 22;
|
||||||
Item.shoot = ModContent.ProjectileType<BlueBolt>();
|
Item.shoot = ModContent.ProjectileType<BlueBolt>();
|
||||||
}
|
}
|
||||||
return CanUseItem(player);
|
return base.CanUseItem(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void AddRecipes()
|
public override void AddRecipes()
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ public class SpectralHowler : ModItem
|
|||||||
Item.damage = 260;
|
Item.damage = 260;
|
||||||
Item.shoot = ModContent.ProjectileType<RainbowBolt>();
|
Item.shoot = ModContent.ProjectileType<RainbowBolt>();
|
||||||
}
|
}
|
||||||
return CanUseItem(player);
|
return base.CanUseItem(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void AddRecipes()
|
public override void AddRecipes()
|
||||||
|
|||||||
Reference in New Issue
Block a user