Skip to content

Commit

Permalink
fix: Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Feb 13, 2024
1 parent 75f03ba commit cfa39c4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,10 @@ public final int getMaxPublicHomeSlots(@NotNull OnlineUser user) {
}

/**
* Get a {@link TeleportBuilder} to construct and executeTeleport a (timed) teleport.
* Get a {@link TeleportBuilder} to construct and execute a (timed) teleport.
*
* @param teleporter The {@link OnlineUser} to teleport
* @return A {@link TeleportBuilder} to construct and executeTeleport a (timed) teleport
* @return A {@link TeleportBuilder} to construct and execute a (timed) teleport
* @since 4.0
*/
@NotNull
Expand All @@ -742,9 +742,9 @@ public final TeleportBuilder teleportBuilder(@NotNull OnlineUser teleporter) {
}

/**
* Get a {@link TeleportBuilder} to construct and executeTeleport a (timed) teleport.
* Get a {@link TeleportBuilder} to construct and execute a (timed) teleport.
*
* @return A {@link TeleportBuilder} to construct and executeTeleport a (timed) teleport
* @return A {@link TeleportBuilder} to construct and execute a (timed) teleport
* @since 4.0
*/
@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private void executeRtp(@NotNull OnlineUser teleporter, @NotNull CommandUser exe
return;
}

// Build and executeTeleport the teleport
// Build and execute the teleport
final TeleportBuilder builder = Teleport.builder(plugin)
.teleporter(teleporter)
.actions(TransactionResolver.Action.RANDOM_TELEPORT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void execute(@NotNull CommandUser executor, @NotNull String[] args) {
// Execute a teleport
private void execute(@NotNull CommandUser executor, @NotNull Teleportable teleportable, @NotNull Target target,
@NotNull String[] args) {
// Build and executeTeleport the teleport
// Build and execute the teleport
final TeleportBuilder builder = Teleport.builder(plugin)
.teleporter(teleportable)
.target(target);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void execute() throws TeleportationException {
throw new TeleportationException(TeleportationException.Type.WARMUP_ALREADY_MOVING, plugin);
}

// Process the warmup and executeTeleport the teleport
// Process the warmup and execute the teleport
this.process();
}

Expand Down
2 changes: 1 addition & 1 deletion common/src/main/resources/locales/en-gb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ locales:
error_home_description_characters: '[Error:](#ff3300) [Home descriptions may only contain alphanumeric (A-Z, 0-9) characters, spaces, hyphens (-) and underscores (_)](#ff7e5e)'
error_warp_description_length: '[Error:](#ff3300) [Warp descriptions must be less than 255 characters in length.](#ff7e5e)'
error_warp_description_characters: '[Error:](#ff3300) [Warp descriptions may only contain alphanumeric (A-Z, 0-9) characters, spaces, hyphens (-) and underscores (_)](#ff7e5e)'
error_no_permission: '[Error:](#ff3300) [You do not have permission to executeTeleport that command.](#ff7e5e)'
error_no_permission: '[Error:](#ff3300) [You do not have permission to execute that command.](#ff7e5e)'
error_invalid_syntax: '[Error:](#ff3300) [Incorrect syntax. Usage:](#ff7e5e) [%1%](#ff7e5e italic show_text=&#ff7e5e&Click to suggest suggest_command=%1%)'
error_already_teleporting: '[Error:](#ff3300) [Please wait for the current teleport to finish!](#ff7e5e)'
error_no_last_position: '[Error:](#ff3300) [You have no last position to return to!](#ff7e5e)'
Expand Down

0 comments on commit cfa39c4

Please sign in to comment.