X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FShell.java;h=8d7068ed01d188aa71eb8ebda9954337bb630754;hb=74334cabafbab7c43cc1fd47cb429f54470d0adb;hp=9f1fc9b1c1e8ba44c08ee0c57b3645a776ea2681;hpb=d785d5fa0c40faf405f5dbb65646aec62d9fa881;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Shell.java b/src/main/java/net/pterodactylus/sone/data/Shell.java index 9f1fc9b..8d7068e 100644 --- a/src/main/java/net/pterodactylus/sone/data/Shell.java +++ b/src/main/java/net/pterodactylus/sone/data/Shell.java @@ -36,11 +36,11 @@ public interface Shell { public boolean canUnshell(); /** - * Returns the object that is shelled. Returns {@code null} if the real - * object has not yet been retrieved. + * Returns the object that is shelled. This method with return the shell + * itself if {@link #canUnshell()} returns {@code false} and will return the + * real object once {@link #canUnshell()} returns true. * - * @return The shelled object, or {@code null} if the shelled object is not - * retrieved yet + * @return The shelled object, or the shell itself */ public T getShelled();