Hey all, I’m trying to get the plugin container for my plugin so I can use it with chunk loading.
This is the error:
[23:22:57] [Server thread/ERROR] [FML/]: Failed to locate the container for mod instance
Plugin{id=chunkmanager, name=ChunkManager, version=1.0, description=The Chunk
Manager Plugin, source=C:\Users\user\Desktop\Sponge Server\mods\ChunkManager-Sponge.jar} (org.spongepowered.mod.plugin.SpongeModPluginContainer : 3c3a1d3)
[23:22:57] [Server thread/ERROR] [mymchunkmanager/]: Error during task completion stage
java.util.NoSuchElementException: No value present
I am using Sponge.getPluginManager().fromInstance(this).get();
to get the plugin container. Yes, it is my @Plugin instance. Anyone know a solution?