Skip to content

Commit

Permalink
Fixed PermissionList command continuing even when it knows the sender…
Browse files Browse the repository at this point in the history
… isnt a player
  • Loading branch information
ajgeiss0702 committed Jan 19, 2024
1 parent 83c2deb commit b52e221
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void execute(ICommandSender sender, String[] args) {
Component.text("You need to run this as a player with priority!")
.color(NamedTextColor.RED)
);
return;
}

List<String> permissions = main.getLogicGetter()
Expand Down

0 comments on commit b52e221

Please sign in to comment.