mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Simple Cleanup
This commit is contained in:
1 parent
09df969bcf
commit
e2fff11ea8
141 files changed
+545
-859
No files matched your search
@@ -61,15 +61,11 @@ public class PostalCarrier implements IPostalCarrier {
|
||||
}
|
||||
|
||||
private IPostalState handleTradeLetter(World world, IPostOffice office, IMailAddress recipient, ItemStack letterstack, boolean doLodge) {
|
||||
IPostalState state = EnumDeliveryState.NOT_MAILABLE;
|
||||
|
||||
ITradeStation trade = PostManager.postRegistry.getTradeStation(world, recipient);
|
||||
if (trade == null)
|
||||
return EnumDeliveryState.NO_MAILBOX;
|
||||
|
||||
state = trade.handleLetter(world, recipient, letterstack, doLodge);
|
||||
|
||||
return state;
|
||||
return trade.handleLetter(world, recipient, letterstack, doLodge);
|
||||
}
|
||||
|
||||
private EnumDeliveryState storeInPOBox(World world, IPostOffice office, IMailAddress recipient, ItemStack letterstack, boolean doLodge) {
|
||||
|
||||
Reference in new issue
Block a user