Skip to content

Commit fc2bd66

Browse files
committed
Run format
1 parent 5bf9eda commit fc2bd66

25 files changed

Lines changed: 33 additions & 26 deletions

Content/Abilities/Faewhip/Whip.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StarlightRiver.Core.Loaders;
2-
using StarlightRiver.Core.Systems.DummyTileSystem;
32
using StarlightRiver.Core.Systems;
3+
using StarlightRiver.Core.Systems.DummyTileSystem;
44
using System;
55
using Terraria.GameInput;
66
using static Terraria.ModLoader.ModContent;

Content/Bosses/SquidBoss/NPCs.ArenaBlocker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public override void AI()
7474

7575
private void ForceColliding(On_Player.orig_Update_NPCCollision orig, Player self)
7676
{
77-
foreach(NPC npc in Main.ActiveNPCs)
77+
foreach (NPC npc in Main.ActiveNPCs)
7878
{
7979
int specialHit = 0;
8080
float damageMult = 0f;

Content/Foregrounds/Foregrounds.OvergrowForeground.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class OvergrowForeground : Foreground
1010
public override void Load()
1111
{
1212
particles = new ParticleSystem("StarlightRiver/Assets/GUI/HolyBig", UpdateOvergrowWells);
13-
}
13+
}
1414

1515
public override bool Visible => Main.LocalPlayer.InModBiome(ModContent.GetInstance<OvergrowBiome>());
1616

Content/GUI/DialogUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public static void ClearButtons()
267267

268268
public static void AddButton(string message, Action onClick)
269269
{
270-
var font = Terraria.GameContent.FontAssets.MouseText.Value;
270+
ReLogic.Graphics.DynamicSpriteFont font = Terraria.GameContent.FontAssets.MouseText.Value;
271271
var add = new RichTextButton(message, onClick, new Vector2(widthOff, HeightOff));
272272
add.Width.Set(ChatManager.GetStringSize(font, message, Vector2.One).X + 20, 0);
273273
add.Height.Set(32, 0);

Content/Items/BaseTypes/BaseCritterItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ public override void SetDefaults()
5555
Item.rare = rarity;
5656
}
5757
}
58-
}
58+
}

Content/Items/BaseTypes/BaseMaterial.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ public override void SetDefaults()
4444
Item.rare = rarity;
4545
}
4646
}
47-
}
47+
}

Content/Items/BaseTypes/BaseTileItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ public override void SetDefaults()
7676
SafeSetDefaults();
7777
}
7878
}
79-
}
79+
}

Content/Items/BaseTypes/BaseWallItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ public override void SetDefaults()
4949
Item.rare = rarity;
5050
}
5151
}
52-
}
52+
}

Content/Items/BaseTypes/RelicItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override bool PreDrawInInventory(Item item, SpriteBatch spriteBatch, Vect
4242
RelicAccessorySystem.RelicParticleSystem?.AddParticle(pos, Vector2.Zero, 0, Main.UIScale * Main.rand.NextFloat(0.85f, 1.15f), Color.White, 20, Vector2.Zero, new Rectangle(0, 0, 14, 14));
4343
}
4444

45-
var tex = Assets.Masks.GlowAlpha.Value;
45+
Texture2D tex = Assets.Masks.GlowAlpha.Value;
4646
spriteBatch.Draw(tex, position, null, new Color(255, 220, 100, 0) * 0.5f, 0, tex.Size() / 2f, 0.5f, 0, 0);
4747

4848
return base.PreDrawInInventory(item, spriteBatch, position, frame, drawColor, ItemColor, origin, scale);

Content/Items/BaseTypes/Weapons/BaseFlail.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ public override void AI()
153153
if (falling) //falling towards ground, returns after hitting ground
154154
{
155155
if (strucktile || ++Timer >= 180)
156+
{
156157
Return(launchspeed, Owner);
158+
}
157159
else
158160
{
159161
FallingExtras(Owner);

0 commit comments

Comments
 (0)