Skip to content

Commit

Permalink
chore: Bumps MailKit to 4.7.0 & Cleans up bad code formatting (#1857)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Jul 5, 2024
1 parent 0374b74 commit c914d3d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected override void OnTick()

var hue = Utility.RandomList(0x481, 0x482, 0x489, 0x497, 0x66D);

Effects.SendMovingEffect(map, 0x36D4, from, to,0, 0, false, true, hue);
Effects.SendMovingEffect(map, 0x36D4, from, to, 0, 0, false, true, hue);
}
}

Expand Down
6 changes: 3 additions & 3 deletions Projects/UOContent/Items/Special/SoulStone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public ConfirmSkillGump(SoulStone stone, Skill skill) : base(50, 50)
AddButton(10, 360, 0xFA5, 0xFA6, 2);

// Activate the stone. I am ready to transfer the skill points to it.
AddHtmlLocalized(45,362,450,20,1070720,0x7FFF);
AddHtmlLocalized(45, 362, 450, 20, 1070720, 0x7FFF);

AddButton(10, 380, 0xFA5, 0xFA6, 1);
AddHtmlLocalized(45, 382, 450, 20, 1062279, 0x7FFF); // No, let me make another selection.
Expand Down Expand Up @@ -542,12 +542,12 @@ public ConfirmTransferGump(SoulStone stone, Mobile from) : base(50, 50)
AddButton(10, 360, 0xFA5, 0xFA6, 2);

// Activate the stone. I am ready to retrieve the skill points from it.
AddHtmlLocalized(45,362,450,20,1070719,0x7FFF);
AddHtmlLocalized(45, 362, 450, 20, 1070719, 0x7FFF);

AddButton(10, 380, 0xFA5, 0xFA6, 1);

// Remove all skill points from this stone and DO NOT absorb them.
AddHtmlLocalized(45,382,450,20,1070723,0x7FFF);
AddHtmlLocalized(45, 382, 450, 20, 1070723, 0x7FFF);

AddButton(10, 410, 0xFB1, 0xFB2, 0);
AddHtmlLocalized(45, 412, 450, 20, 1060051, 0x7FFF); // CANCEL
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Weapons/Abilities/ForceArrow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static bool HasForceArrow(Mobile attacker, Mobile defender)

public static ForceArrowInfo GetInfo(Mobile attacker, Mobile defender)
{
if (_table.TryGetValue(attacker,out var list))
if (_table.TryGetValue(attacker, out var list))
{
foreach (ForceArrowInfo info in list)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void Remove(Mobile m)

public static void OnHit(Mobile from, Mobile target)
{
if (_table.TryGetValue(from,out var t))
if (_table.TryGetValue(from, out var t))
{
t.Hits++;
t.LastHit = Core.Now;
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public override void OnDoubleClick(Mobile from)
if (Poisoned)
{
// This mount is too ill to ride.
PrivateOverheadMessage(MessageType.Regular,0x3B2,1049692,from.NetState);
PrivateOverheadMessage(MessageType.Regular, 0x3B2, 1049692, from.NetState);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Mobiles/Animals/Mounts/Unicorn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public override bool DoMountAbility(int damage, Mobile attacker)
if (Rider.CurePoison(this))
{
// Your mount senses you are in danger and aids you with magic.
Rider.LocalOverheadMessage(MessageType.Regular,0x3B2,1080039);
Rider.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1080039);
Rider.FixedParticles(0x373A, 10, 15, 5012, EffectLayer.Waist);
Rider.PlaySound(0x1E0); // Cure spell effect.
Rider.PlaySound(0xA9); // Unicorn's whinny.
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/UOContent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<IncludeInPackage>false</IncludeInPackage>
</ProjectReference>
<PackageReference Include="LibDeflate.Bindings" Version="1.0.2.120" />
<PackageReference Include="MailKit" Version="4.6.0" />
<PackageReference Include="MailKit" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" />
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
<PackageReference Include="Argon2.Bindings" Version="1.16.1" />
Expand Down

0 comments on commit c914d3d

Please sign in to comment.