Skip to content

Commit

Permalink
add correct access type to trust modification
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed May 21, 2024
1 parent 179157b commit a0d85f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void execute(CommandSender sender, Arguments arguments) {
editFuture.thenAccept(source -> SchedulerUtil.schedule(plugin, player, () -> {
if (source != null) {
if (adding) {
accessList.getAccess().put(source.toString(), plugin.getDefaultAccessType());
accessList.getAccess().put(source.toString(), access.type());
} else {
accessList.getAccess().remove(source.toString());
}
Expand Down

0 comments on commit a0d85f5

Please sign in to comment.