Search in sources :

Example 1 with ShipDataConverter

use of org.valkyrienskies.mod.common.command.converters.ShipDataConverter in project Valkyrien-Warfare-Revamped by ValkyrienWarfare.

the class VSCommandBase method registerConverters.

private void registerConverters(CommandLine commandLine, ICommandSender sender) {
    pureConverters.forEach(commandLine::registerConverter);
    commandLine.registerConverter(ShipData.class, new ShipDataConverter(sender));
}
Also used : ShipDataConverter(org.valkyrienskies.mod.common.command.converters.ShipDataConverter)

Aggregations

ShipDataConverter (org.valkyrienskies.mod.common.command.converters.ShipDataConverter)1