class SpigotMap implements PlatformMap {

    @Override
    public @Nullable DispatcherCommand register(LiteralCommandNode<CommandSender> command) {
        // We don't need to check if map contains "prefix:command_name" since Spigot will
        // always override it
        if (map.getKnownCommands().containsKey(command.getName())) {
            return null;
        }
        
        var wrapped = wrap(command);
        map.register(prefix, wrapped);
        return wrapped;
    }

      SpigotMap(String prefix, Plugin plugin, CraftCommandMap map);

}