mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Remove EnumAddressee.INVALID
This commit is contained in:
1 parent
dff81eb85c
commit
f13bacfed5
7 files changed
+19
-15
No files matched your search
@@ -246,7 +246,7 @@ public class GuiLetter extends GuiForestry<TileForestry> {
|
||||
}
|
||||
|
||||
private void setRecipient(String recipientName, EnumAddressee type) {
|
||||
if (this.isProcessedLetter || StringUtils.isBlank(recipientName) || type == null || type == EnumAddressee.INVALID)
|
||||
if (this.isProcessedLetter || StringUtils.isBlank(recipientName) || type == null)
|
||||
return;
|
||||
|
||||
container.setRecipient(recipientName, type);
|
||||
|
||||
Reference in new issue
Block a user