mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 06:28:49 +00:00
fix: Fix checkstyle
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -23,7 +23,7 @@ import net.william278.huskhomes.user.OnlineUser;
|
|||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Teleport that is completable
|
* Represents a Teleport that is completable.
|
||||||
*/
|
*/
|
||||||
public interface Completable {
|
public interface Completable {
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ public interface Completable {
|
|||||||
OnlineUser getExecutor();
|
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
|
* @param args Optional args to pass to the teleport exception handler
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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 {
|
public void execute() throws TeleportationException {
|
||||||
validateTransactions();
|
validateTransactions();
|
||||||
|
|||||||
Reference in new issue
Block a user