* gets the ActionType for the requested action
*
* @return ActionType
*/
private ActionType getActionType() {
Sign sign = (Sign) entity;
if (sign == null) {
// The user switched maps, but we still need a reasonable return
// value
return ActionType.LOOK;
}
String action = sign.getAction();
if (action == null) {
return ActionType.LOOK;
}
try {