From cfa39c448fa484c8debe6e62bd1954b413fe8d83 Mon Sep 17 00:00:00 2001 From: William278 Date: Tue, 13 Feb 2024 15:51:19 +0000 Subject: [PATCH] fix: Typos --- .../net/william278/huskhomes/api/BaseHuskHomesAPI.java | 8 ++++---- .../java/net/william278/huskhomes/command/RtpCommand.java | 2 +- .../java/net/william278/huskhomes/command/TpCommand.java | 2 +- .../net/william278/huskhomes/teleport/TimedTeleport.java | 2 +- common/src/main/resources/locales/en-gb.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/src/main/java/net/william278/huskhomes/api/BaseHuskHomesAPI.java b/common/src/main/java/net/william278/huskhomes/api/BaseHuskHomesAPI.java index dc68a384..8e082034 100644 --- a/common/src/main/java/net/william278/huskhomes/api/BaseHuskHomesAPI.java +++ b/common/src/main/java/net/william278/huskhomes/api/BaseHuskHomesAPI.java @@ -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 @@ -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 diff --git a/common/src/main/java/net/william278/huskhomes/command/RtpCommand.java b/common/src/main/java/net/william278/huskhomes/command/RtpCommand.java index 04ba6249..eb746cbd 100644 --- a/common/src/main/java/net/william278/huskhomes/command/RtpCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/RtpCommand.java @@ -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) diff --git a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java index c7694f45..53b4c138 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java @@ -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); diff --git a/common/src/main/java/net/william278/huskhomes/teleport/TimedTeleport.java b/common/src/main/java/net/william278/huskhomes/teleport/TimedTeleport.java index 5e4ac373..9ddfed3a 100644 --- a/common/src/main/java/net/william278/huskhomes/teleport/TimedTeleport.java +++ b/common/src/main/java/net/william278/huskhomes/teleport/TimedTeleport.java @@ -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(); } diff --git a/common/src/main/resources/locales/en-gb.yml b/common/src/main/resources/locales/en-gb.yml index bf0290f8..f9ae5b54 100644 --- a/common/src/main/resources/locales/en-gb.yml +++ b/common/src/main/resources/locales/en-gb.yml @@ -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)'