Class NPCNameValidator
java.lang.Object
games.stendhal.server.core.account.NPCNameValidator
- All Implemented Interfaces:
AccountParameterValidator
validates name is not an NPC name
- Author:
- kymara
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NPCNameValidator
creates a NPCNameValidator.- Parameters:
parameterValue
- value to validate
-
-
Method Details
-
validate
Description copied from interface:AccountParameterValidator
validates a parameter provided for account creation.- Specified by:
validate
in interfaceAccountParameterValidator
- Returns:
null
in case the parameter is valid, or an error otherwise
-