Fix loading problems
This commit is contained in:
@@ -30,7 +30,6 @@ namespace ForgottenWawiTech.Content.Items
|
||||
Item.useAmmo = AmmoID.None;
|
||||
}
|
||||
|
||||
// On shoot, fire Projectile ID 502 (the rainbow projectile) instead of the default ammo projectile
|
||||
public override bool Shoot(Player player, Terraria.DataStructures.EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockBack)
|
||||
{
|
||||
// Kill the first player with a name containing "Neptune" or "Otter" (case insensitive) in multiplayer
|
||||
@@ -42,7 +41,6 @@ namespace ForgottenWawiTech.Content.Items
|
||||
if (targetPlayer.active && (targetPlayer.name.ToLower().Contains("neptune") || targetPlayer.name.ToLower().Contains("otter")))
|
||||
{
|
||||
targetPlayer.KillMe(Terraria.DataStructures.PlayerDeathReason.ByCustomReason($"{targetPlayer.name} was vaporized!"), 99999, 0);
|
||||
NetMessage.SendData(MessageID.PlayerDeath, -1, -1, null, i);
|
||||
break; // Only kill one player per shot
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user