Class PlayerExactParser

    • Method Detail

      • parse

        @Nullable
        public @Nullable Player parse​(@NotNull
                                      @NotNull Argument argument)
        Parses an Argument to a specified type and returns it.
        Specified by:
        parse in interface ArgumentParser<Player>
        Parameters:
        argument - the argument to be parsed
        Returns:
        the value to be parsed, or null if the parsing fails