Skip to content

Commit

Permalink
push to public repo & fix PlayerProvider#provideDefault console comma…
Browse files Browse the repository at this point in the history
…nd sender
  • Loading branch information
Badbird5907 committed Mar 12, 2024
1 parent fca8be7 commit ccd7234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Player provide(CommandContext context, CommandInfo commandInfo, Parameter
@Override
public Player provideDefault(CommandContext context, CommandInfo commandInfo, ParameterInfo parameterInfo, Deque<String> args) {
if (parameterInfo.getCommander().getPlatform().isSenderParameter(parameterInfo)) {
return (Player) ((BukkitCommandSender) context.getCommandSender()).getSender();
return ((BukkitCommandSender) context.getCommandSender()).getPlayer();
}
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ subprojects {
}
}
if (octomcRepository) {
maven ("https://repo.octopvp.net/repo"){
maven ("https://repo.octopvp.net/public"){
name = "octomc"
credentials(PasswordCredentials::class)
authentication {
Expand Down

0 comments on commit ccd7234

Please sign in to comment.