diff --git a/common/src/main/java/net/william278/huskhomes/teleport/Completable.java b/common/src/main/java/net/william278/huskhomes/teleport/Completable.java index 5cb9b556..8d145ca6 100644 --- a/common/src/main/java/net/william278/huskhomes/teleport/Completable.java +++ b/common/src/main/java/net/william278/huskhomes/teleport/Completable.java @@ -23,7 +23,7 @@ import net.william278.huskhomes.user.OnlineUser; import org.jetbrains.annotations.NotNull; /** - * Represents a Teleport that is completable + * Represents a Teleport that is completable. */ public interface Completable { @@ -33,7 +33,7 @@ public interface Completable { OnlineUser getExecutor(); /** - * Complete the teleport and handle exceptions + * Complete the teleport and handle exceptions. * * @param args Optional args to pass to the teleport exception handler */ diff --git a/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java b/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java index 21c35bfe..18fbfab2 100644 --- a/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java +++ b/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java @@ -76,9 +76,9 @@ public class Teleport implements Completable { } /** - * Execute a teleport, throwing a {@link TeleportationException on an exception} + * Execute a teleport, throwing a {@link TeleportationException} if it fails. * - * @throws TeleportationException if + * @throws TeleportationException if the teleport fails for some reason. */ public void execute() throws TeleportationException { validateTransactions();