Skip to content

Commit

Permalink
Fix issue with nicedamage overriding text from other plugins - looks …
Browse files Browse the repository at this point in the history
…like whatever issue caused the message to stay between each instance has been resolved so there's no need to clear it out now.
  • Loading branch information
gnargle committed Jul 15, 2024
1 parent 377df5a commit 412ee56
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions NICEDamage/NICEDamagePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,11 @@ private void FlyTextGUI_FlyTextCreated(ref FlyTextKind kind, ref int val1, ref i
var valStr = Convert.ToString(val1);
if (valStr.EndsWith("42069"))
{
text2 = "OMGOMGOMG NICE DUDE NIIIIIICE";
text2.Append(" OMGOMGOMG NICE DUDE NIIIIIICE ");
}
else if (valStr.EndsWith("69"))
else if (valStr.StartsWith("61"))
{
text2 = "NICE";
}
else
{
text2 = string.Empty;
text2.Append(" NICE ");
}
break;
}
Expand Down

0 comments on commit 412ee56

Please sign in to comment.