Skip to content

Commit

Permalink
mp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 26, 2021
1 parent 1268fa6 commit a9f2b98
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
9 changes: 6 additions & 3 deletions Projectiles/Minions/CombatPets/SpecialNonBossPets/BlackCat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,12 @@ public static void LoadAssets()
//Main.instance.LoadItem(ItemID.WaterBolt);
//Main.instance.LoadItem(ItemID.MagicalHarp);
//Main.instance.LoadItem(ItemID.ShadowbeamStaff);
Main.instance.LoadProjectile(ProjectileID.QuarterNote);
Main.instance.LoadProjectile(ProjectileID.EighthNote);
Main.instance.LoadProjectile(ProjectileID.TiedEighthNote);
if(!Main.dedServ)
{
Main.instance.LoadProjectile(ProjectileID.QuarterNote);
Main.instance.LoadProjectile(ProjectileID.EighthNote);
Main.instance.LoadProjectile(ProjectileID.TiedEighthNote);
}
BlackCatLevelInfo = new CatPetLevelInfo[]
{
new CatPetLevelInfo(-1, ItemID.WandofSparking, 0, 8, WeaponSpriteOrientation.DIAGONAL),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,20 @@ public class CompanionCubeMinion : CombatPetSlimeMinion
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
Main.instance.LoadProjectile(ProjectileID.PortalGunGate);
if(!Main.dedServ)
{
Main.instance.LoadProjectile(ProjectileID.PortalGunGate);
}
}

public override void SetDefaults()
{
base.SetDefaults();
CombatPetConvenienceMethods.ConfigureDrawBox(this, 30, 30, 0, -2);
ExtraTexture = GetTexture(base.Texture + "Platform");
if(!Main.dedServ)
{
ExtraTexture = GetTexture(base.Texture + "Platform");
}
}

public override void Animate(int minFrame = 0, int? maxFrame = null)
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
displayName = The Amulet Of Many Minions
author = billybobmcbo, SkyanUltra, direwolf420, Metallumere, SPATULA LEMMY
version = 0.13.0
version = 0.13.0.1
homepage = https://forums.terraria.org/index.php?threads/the-amulet-of-many-minions.97188/

0 comments on commit a9f2b98

Please sign in to comment.