mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 12:32:23 +00:00
Fix #411 Trade Station does not show its name in the GUI
This commit is contained in:
1 parent
daa3ab13be
commit
0d1d8295b4
5 files changed
+31
-26
No files matched your search
@@ -158,9 +158,9 @@ public class ContainerLetter extends ContainerItemInventory {
|
||||
GameProfile gameProfile = MinecraftServer.getServer().func_152358_ax().func_152655_a(recipientName);
|
||||
if (gameProfile == null)
|
||||
gameProfile = new GameProfile(new UUID(0, 0), recipientName);
|
||||
recipient = PostManager.postRegistry.getValidMailAddress(player.worldObj, gameProfile);
|
||||
recipient = PostManager.postRegistry.getMailAddress(gameProfile);
|
||||
} else if (type == EnumAddressee.TRADER) {
|
||||
recipient = PostManager.postRegistry.getValidMailAddress(player.worldObj, recipientName);
|
||||
recipient = PostManager.postRegistry.getMailAddress(recipientName);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user