remove <v> and swap it to {number} for messages

This commit is contained in:
Taah
2022-04-03 21:07:48 -07:00
parent 511506348f
commit 35d436bb61
2 changed files with 113 additions and 106 deletions

View File

@ -146,9 +146,13 @@ public class PlexUtils extends PlexBase
{
throw new NullPointerException();
}
for (Object object : objects)
/*for (Object object : objects)
{
f = f.replaceFirst("<v>", String.valueOf(object));
}*/
for (int i = 0; i < objects.length; i++)
{
f = f.replace("{" + i + "}", String.valueOf(objects[i]));
}
return f;
}