In sponge 7.0 I can get asset file by using this code.
PluginContainer.getAsset(path).get();
then I can use the method .copyToFile(pluginFolderPath) to copy to my plugin path
but In sponge 8.0 I couldn’t fild the method to get asset file.
I want to get and save the asset file into my plugin folder. e.g. item.conf
How can I get & save the asset file in sponge 8.0 ?
Please help me.