Class ExtractEntityValidator
java.lang.Object
games.stendhal.server.actions.validator.ExtractEntityValidator
- All Implemented Interfaces:
ActionValidator
extracts the entity
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(Player player, RPAction action, ActionData data)
validates an RPAction.
-
Constructor Details
-
ExtractEntityValidator
public ExtractEntityValidator()
-
-
Method Details
-
validate
Description copied from interface:ActionValidator
validates an RPAction.- Specified by:
validate
in interfaceActionValidator
- Parameters:
player
- Playeraction
- RPAction to validatedata
- data about this action- Returns:
null
if the action is valid; an error message otherwise
-