Skip to content

Commit

Permalink
Give unique mob names a static name
Browse files Browse the repository at this point in the history
  • Loading branch information
Triky313 committed Jul 7, 2021
1 parent 20c1928 commit df9bc4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public OtherGrabbedLootEvent(Dictionary<byte, object> parameters) : base(paramet
{
if (parameters.ContainsKey(1))
{
_lootedBody = parameters[1].ToString();
_lootedBody = MobController.IsMob(parameters[1].ToString()) ? LanguageController.Translation("MOB") : parameters[1].ToString();
}

if (parameters.ContainsKey(2))
{
_looterName = MobController.IsMob(parameters[2].ToString()) ? LanguageController.Translation("MOB") : parameters[2].ToString();
_looterName = parameters[2].ToString();
}

if (parameters.ContainsKey(3))
Expand Down

0 comments on commit df9bc4d

Please sign in to comment.