mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-25 11:22:06 +00:00
[AB-xxx] adding rank to leaderboard page
changing design of leaderboard page fixing role not having an id
This commit is contained in:
@@ -18,7 +18,8 @@ public class RoleDisplay {
|
||||
|
||||
public static RoleDisplay fromRole(Role role) {
|
||||
RoleDisplayBuilder builder = builder()
|
||||
.name(role.getName());
|
||||
.name(role.getName())
|
||||
.id(role.getIdLong());
|
||||
Color roleColor = role.getColor();
|
||||
if(roleColor != null) {
|
||||
builder.r(roleColor.getRed()).
|
||||
|
||||
Reference in New Issue
Block a user