Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fixed the wrong id for server roles
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshiCodes committed Jun 9, 2023
1 parent 6ceca33 commit 48ddb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/joshicodes/rja/object/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static Server from(final RJA rja, final JsonObject object) {
for(String roleId : rolesObject.keySet()) {
JsonObject roleObject = rolesObject.getAsJsonObject(roleId);
if(roleObject == null) continue;
Role role = Role.from(rja, id, roleObject);
Role role = Role.from(rja, roleId, roleObject);
roles.add(role);
}
}
Expand Down

0 comments on commit 48ddb3d

Please sign in to comment.