mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +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
@@ -80,7 +80,7 @@ public class PostRegistry implements IPostRegistry {
|
||||
*/
|
||||
@Override
|
||||
public boolean isValidTradeAddress(World world, IMailAddress address) {
|
||||
return !address.isPlayer() && address.getName().matches("^[a-zA-Z0-9]+$");
|
||||
return address.isTrader() && address.getName().matches("^[a-zA-Z0-9]+$");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user