fixed pagination numbers in xplb and xpglb
This commit is contained in:
parent
fca083a8fe
commit
39297c6f83
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ public partial class Xp : EllieModule<XpService>
|
||||||
else if (userXpData.AwardedXp < 0)
|
else if (userXpData.AwardedXp < 0)
|
||||||
awardStr = $"({userXpData.AwardedXp})";
|
awardStr = $"({userXpData.AwardedXp})";
|
||||||
|
|
||||||
embed.AddField($"#{i + 1 + (curPage * 9)} {user?.ToString() ?? users[i].UserId.ToString()}",
|
embed.AddField($"#{i + 1 + (curPage * 10)} {user?.ToString() ?? users[i].UserId.ToString()}",
|
||||||
$"{GetText(strs.level_x(levelStats.Level))} - {levelStats.TotalXp}xp {awardStr}");
|
$"{GetText(strs.level_x(levelStats.Level))} - {levelStats.TotalXp}xp {awardStr}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ public partial class Xp : EllieModule<XpService>
|
||||||
for (var i = 0; i < users.Count; i++)
|
for (var i = 0; i < users.Count; i++)
|
||||||
{
|
{
|
||||||
var user = users[i];
|
var user = users[i];
|
||||||
embed.AddField($"#{i + 1 + (curPage * 9)} {user}",
|
embed.AddField($"#{i + 1 + (curPage * 10)} {user}",
|
||||||
$"{GetText(strs.level_x(new LevelStats(users[i].TotalXp).Level))} - {users[i].TotalXp}xp");
|
$"{GetText(strs.level_x(new LevelStats(users[i].TotalXp).Level))} - {users[i].TotalXp}xp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue