mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-13 04:45:02 +01:00
Fix read mails with no attachments being undeletable
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user