-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Head NBT Skull Support for 1.20.2 #126
Comments
Does not work for me as well. |
Sadly something with skulls seems to have broken in Paper 1.20.2. Getting the same error multiple times:
It should be related to PaperMC/Paper#9843 and might get fixed on their side. |
Seems like the API was changed 😮 @James-P-Bennett @MorkaZ do you use paper too? |
yes |
https://github.com/James-P-Bennett/BossShopPro Here's my fork with the corrected & compiled jar files. 1.20.2, some archaic features like epic spawners integration was removed |
Hi, the plugin works for nearly every version of Spigot up to 1.20.2.
Here's the stacktrace of attempting to use custom skulls in menus.
[13:27:06 WARN]: java.lang.NullPointerException: Profile name must not be null
[13:27:06 WARN]: at java.base/java.util.Objects.requireNonNull(Objects.java:235)
[13:27:06 WARN]: at com.mojang.authlib.GameProfile.(GameProfile.java:31)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemDataPartCustomSkull.transformSkull(ItemDataPartCustomSkull.java:28)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemDataPartCustomSkull.transform(ItemDataPartCustomSkull.java:93)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemDataPart.transformItem(ItemDataPart.java:213)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemDataPart.transformItem(ItemDataPart.java:128)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemDataPart.transformItem(ItemDataPart.java:106)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemStackCreator.createItemStack(ItemStackCreator.java:96)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.item.ItemStackCreator.createItemStack(ItemStackCreator.java:57)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.BuyItemHandler.createBuyItem(BuyItemHandler.java:197)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.BuyItemHandler.loadItem(BuyItemHandler.java:47)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.config.BSConfigShop.loadItems(BSConfigShop.java:184)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.config.BSConfigShop.setup(BSConfigShop.java:96)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.config.BSConfigShop.(BSConfigShop.java:72)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.config.BSConfigShop.(BSConfigShop.java:42)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.config.BSConfigShop.(BSConfigShop.java:38)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.core.BSShops.loadShop(BSShops.java:79)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.core.BSShops.loadShops(BSShops.java:52)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.core.BSShops.(BSShops.java:30)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.ClassManager.setupDependentClasses(ClassManager.java:137)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.BossShop.reloadPlugin(BossShop.java:145)
[13:27:06 WARN]: at BossShopPro.jar//org.black_ixx.bossshop.managers.CommandManager.onCommand(CommandManager.java:32)
[13:27:06 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[13:27:06 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
[13:27:06 WARN]: at org.bukkit.craftbukkit.v1_20_R2.CraftServer.dispatchCommand(CraftServer.java:1003)
[13:27:06 WARN]: at org.bukkit.craftbukkit.v1_20_R2.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64)
[13:27:06 WARN]: at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265)
[13:27:06 WARN]: at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:338)
[13:27:06 WARN]: at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:322)
[13:27:06 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2275)
[13:27:06 WARN]: at net.minecraft.server.network.PlayerConnection.lambda$handleChatCommand$20(PlayerConnection.java:2235)
[13:27:06 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.b(IAsyncTaskHandler.java:59)
[13:27:06 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[13:27:06 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[13:27:06 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[13:27:06 WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1351)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193)
[13:27:06 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1328)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1321)
[13:27:06 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1299)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1187)
[13:27:06 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[13:27:06 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
The text was updated successfully, but these errors were encountered: