NBT-API

NBT-API

98.9k Downloads

Shade and relocate

GeorgeV220 opened this issue ยท 2 comments

commented

I have shaded and relocated the NBT API to my plugin but for some reason I'm still getting the warning:
[10:21:27 WARN]: [NBTAPI] #########################################- NBTAPI -#########################################
[10:21:27 WARN]: [NBTAPI] The NBT-API inside VoidChest is located at 'de.tr7zw.nbtapi.utils'!
[10:21:27 WARN]: [NBTAPI] This package name is reserved for the official NBTAPI plugin, and not intended to be used for shading!
[10:21:27 WARN]: [NBTAPI] Please change the relocate to something else. For example: com.example.util.nbtapi
[10:21:27 WARN]: [NBTAPI] #########################################- NBTAPI -#########################################

commented

The NBT-API inside VoidChest is located at 'de.tr7zw.nbtapi.utils'!

You probably copied the wrong dependency. You need the one without -plugin at the end. https://github.com/tr7zw/Item-NBT-API/wiki/Using-Maven#option-2-shading-the-nbt-api-into-your-plugin

commented

Oops, thank you I really appreciate it!!