DailyShop
DailyShop copied to clipboard
Can´t Add NBT Items
Minecraft Version The minecraft version/s where you are getting the error 1.12.2
Plugin Version The dailyshop version you are using and the model [free/premium] 3.9.1 Premium
Describe the bug I want to add Flans Mod Guns as item that can be buy.
To Reproduce Checked if there is an option for enable NBT Support, but hter isnt one.
Expected behavior If applicable, add a clear and concise description of what you expected to happen. I expected tha it worked first try ^^
Screenshots
>
[06:10:11] [Server thread/INFO] []: [DailyShop] There was a problem saving the shop blocks
>
[06:10:11] [Server thread/WARN] []: java.lang.IllegalArgumentException: Unsupported material from item: FLANSMOD_DOUBLEBARRELLEDSHOTGUN (0)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.dependencies.XSeries.XMaterial.matchXMaterial(XMaterial.java:1774)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.wrappers.WrappedMater
ial.getMaterial(WrappedMaterial.java:27)>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.adapters.dItemAdapter.serialize(dItemAdapter.java:64)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.adapters.dItemAdapter.serialize(dItemAdapter.java:31)
> at com.google.gson.internal.bind.TreeTypeAdapter.write(TreeTypeAdapter.java:81)>
[06:10:11] [Server thread/WARN] []:
[06:10:11] [Server thread/WARN] []: Wrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)at com.google.gson.internal.bind.TypeAdapterRuntimeType
>
[06:10:11] [Server thread/WARN] []: Adapter.write(MapTypeAdapterFactory.java:208)at com.google.gson.internal.bind.MapTypeAdapterFactory$
>
[06:10:11] [Server thread/WARN] []: Adapter.write(MapTypeAdapterFactory.java:145)
at com.google.gson.internal.bind.MapTypeAdapterFactory$>at com.google.gson.Gson.toJson(Gson.java:704)
[06:10:11] [Server thread/WARN] []: >
[06:10:11] [Server thread/WARN] []: at com.google.gson.Gson.toJsonTree(Gson.java:597)
>
[06:10:11] [Server thread/WARN] []: at com.google.gson.Gson.toJsonTree(Gson.java:576)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.adapters.dShopStateAdapter.serialize(dShopStateAdapter.java:115)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.serializerApi.saveShopToFile(serializerApi.java:53)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.serializerApi.lambda$saveShopToFileAsync$2(serializerApi.java:65)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.lib.serialize.serializerApi.lambda$static$1(serializerApi.java:40)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.dailyShop.utils.cache.decorators.CacheRemoveListener.invalidate(CacheRemoveListener.java:43)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.dailyShop.utils.cache.decorators.CacheRemoveTask.invalidate(CacheRemoveTask.java:59)
>
[06:10:11] [Server thread/WARN] []: at io.github.divios.dailyShop.utils.cache.decorators.CacheRemoveTask.lambda$startTask$0(CacheRemoveTask.java:35)
>
[06:10:11] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:65)
>
[06:10:11] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:429)
>
[06:10:11] [Server thread/WARN] []: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:853)
[06:10:11] [Server thread/WARN] []: >
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:463)>
[06:10:11] [Server thread/WARN] []: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:801)
[06:10:11] [Server thread/WARN] []: >
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:673)>
[06:10:11] [Server thread/WARN] []: at java.lang.Thread.run(Thread.java:748)```
**Additional context**
Add any other context about the problem here.