Skip to content

Commit

Permalink
Fix incorrect method names
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 28, 2024
1 parent 948112d commit 557c329
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public final class OfflinePlayerParser<C> implements ArgumentParser<C, OfflinePl
* @since 2.0.0
*/
@API(status = API.Status.STABLE, since = "2.0.0")
public static <C> CommandComponent.@NonNull Builder<C, OfflinePlayer> playerComponent() {
public static <C> CommandComponent.@NonNull Builder<C, OfflinePlayer> offlinePlayerComponent() {
return CommandComponent.<C, OfflinePlayer>builder().parser(offlinePlayerParser());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public final class WorldParser<C> implements ArgumentParser<C, World>, BlockingS
* @since 2.0.0
*/
@API(status = API.Status.STABLE, since = "2.0.0")
public static <C> CommandComponent.@NonNull Builder<C, World> characterComponent() {
public static <C> CommandComponent.@NonNull Builder<C, World> worldComponent() {
return CommandComponent.<C, World>builder().parser(worldParser());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final class Location2DParser<C> implements ArgumentParser<C, Location2D>,
* @since 2.0.0
*/
@API(status = API.Status.STABLE, since = "2.0.0")
public static <C> CommandComponent.@NonNull Builder<C, Location2D> locationComponent() {
public static <C> CommandComponent.@NonNull Builder<C, Location2D> location2DComponent() {
return CommandComponent.<C, Location2D>builder().parser(location2DParser());
}

Expand Down

0 comments on commit 557c329

Please sign in to comment.