Closed MSitiSoftware closed 3 weeks ago
Look inside the jar, also do you actually build with maven and not the ide?
Look inside the jar, also do you actually build with maven and not the ide?
What do you mean by looking inside the jar? And no I don't build with the IDE I build it with maven can it be the problem that causes this?
Look inside the jar if it is actually relocated or not. Like the actual file paths.
Look inside the jar if it is actually relocated or not. Like the actual file paths.
Oh I think now I see, there are 2 packages here, me.negai.wanddesigner (my package) and de.tr7zw.changeme.nbtapi... I guess it means it wasn't relocated right?
Correct. That means it didn't work/run. Check the output when running the mvn clean install
command.
Correct. That means it didn't work/run. Check the output when running the
mvn clean install
command.
I succeeded in fixing this, thank you so much for helping!
Here's what I added and what is currently written in my pom.xml file that I guess is supposedly related to the NBTAPI shading: This in:
And this in dependencies:
And this on onEnable method in the plugin's main class:
Here is what it showed in the logs