mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 03:59:45 +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
@@ -75,7 +75,7 @@ public class MailAddress implements INBTTagable, IMailAddress {
|
||||
|
||||
@Override
|
||||
public boolean isValid() {
|
||||
return !PlayerUtil.isSameGameProfile(gameProfile, invalidGameProfile);
|
||||
return gameProfile.getName() != null && !PlayerUtil.isSameGameProfile(gameProfile, invalidGameProfile);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user