X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=inline;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FReplyShell.java;h=afcf295b2d56b1cf4c366b38c00d114f115f1e2d;hb=e90198249f9379ca86c01274bb4b19de5f877fa7;hp=11a6ee55579ff99becee9bd6fb17d38b4f6b5ab9;hpb=90f2c6835a50676ed57b7f14a438062a3fb0ca37;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/ReplyShell.java b/src/main/java/net/pterodactylus/sone/data/ReplyShell.java index 11a6ee5..afcf295 100644 --- a/src/main/java/net/pterodactylus/sone/data/ReplyShell.java +++ b/src/main/java/net/pterodactylus/sone/data/ReplyShell.java @@ -181,7 +181,7 @@ public class ReplyShell extends Reply implements Shell { */ @Override public boolean canUnshell() { - return (sone != null) && (id != null) && (post != null) && (time != null) && (text != null); + return (sone != null) && (!(sone instanceof Shell)) && (id != null) && (post != null) && (!(post instanceof Shell)) && (time != null) && (text != null); } /**