Skip to content

Commit

Permalink
4.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
iiAhmedYT committed Sep 15, 2024
1 parent 16f093e commit 7d886b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'to.itsme'
version = '4.0.0-BETA'
version = '4.0.0'
description = 'ItsMyConfig'
java.sourceCompatibility = JavaVersion.VERSION_17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public CommandManager(final ItsMyConfig plugin) {
});
builder.addParameterType(PlayerSelector.class, (input, context) -> {
final String name = input.readString();
if (name.equals("*")) {
if (name.equals("all")) {
return PlayerSelector.all();
}

Expand All @@ -65,7 +65,7 @@ public CommandManager(final ItsMyConfig plugin) {

builder.addProvider(PlayerSelector.class, (input, context) -> {
final List<String> names = new ArrayList<>();
names.add("*");
names.add("all");
Bukkit.getOnlinePlayers().stream().map(Player::getName).forEach(names::add);
return names;
});
Expand Down

0 comments on commit 7d886b7

Please sign in to comment.