mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Simple Cleanup
This commit is contained in:
1 parent
09df969bcf
commit
e2fff11ea8
141 files changed
+545
-859
No files matched your search
@@ -135,16 +135,9 @@ public class Letter implements ILetter, INBTTagable {
|
||||
|
||||
@Override
|
||||
public boolean isMailable() {
|
||||
|
||||
// Can't resend an already sent letter
|
||||
if (this.isProcessed)
|
||||
return false;
|
||||
|
||||
// Requires at least one recipient
|
||||
if (this.recipient != null && this.recipient.length > 0)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return !isProcessed && recipient != null && recipient.length > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user