Fix read mails with no attachments being undeletable

This commit is contained in:
Melledy
2025-10-30 08:36:49 -07:00
parent 82e992939b
commit e196c3de28

View File

@@ -48,7 +48,7 @@ public class GameMail {
}
public boolean canRemove() {
return (this.isRead() || this.isRecv()) && !this.isPin() && (this.hasAttachments() && this.isRecv());
return (this.isRead() || (this.hasAttachments() && this.isRecv())) && !this.isPin();
}
public boolean hasAttachments() {