Skip to content
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

Sellall issue. #50

Open
HOWTOCHICKEN opened this issue Jul 11, 2023 · 0 comments
Open

Sellall issue. #50

HOWTOCHICKEN opened this issue Jul 11, 2023 · 0 comments

Comments

@HOWTOCHICKEN
Copy link

When I enter /sellall, this error message pops up and the items are not sold:

[23:35:57 ERROR]: [helper] Exception occurred in a helper event handler for org.bukkit.event.block.BlockBreakEvent
me.lucko.helper.internal.exception.types.EventHandlerException: Exception occurred in a helper event handler for org.bukkit.event.block.BlockBreakEvent
at me.lucko.helper.internal.exception.HelperExceptions.reportEvent(HelperExceptions.java:72) ~[helper.jar:?]
at me.lucko.helper.event.functional.single.HelperEventListener.execute(HelperEventListener.java:142) ~[helper.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:git-Purpur-1962]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.19.4.jar:git-Purpur-1962]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.19.4.jar:git-Purpur-1962]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:377) ~[?:?]
at net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:336) ~[?:?]
at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:300) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1952) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:42) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.a(ServerboundPlayerActionPacket.java:15) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1369) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1346) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1339) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1317) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1205) ~[purpur-1.19.4.jar:git-Purpur-1962]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1962]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.contains(Object)" because "dev.drawethree.xprison.enchants.model.impl.FortuneEnchant.blackListedBlocks" is null
at dev.drawethree.xprison.enchants.model.impl.FortuneEnchant.isBlockBlacklisted(FortuneEnchant.java:61) ~[XPrison-1.12.13-RELEASE.jar:?]
at dev.drawethree.xprison.enchants.utils.EnchantUtils.getFortuneBlockCount(EnchantUtils.java:16) ~[XPrison-1.12.13-RELEASE.jar:?]
at dev.drawethree.xprison.autosell.manager.AutoSellManager.createItemStackToGive(AutoSellManager.java:306) ~[XPrison-1.12.13-RELEASE.jar:?]
at dev.drawethree.xprison.autosell.manager.AutoSellManager.autoSellBlock(AutoSellManager.java:343) ~[XPrison-1.12.13-RELEASE.jar:?]
at dev.drawethree.xprison.autosell.listener.AutoSellListener.lambda$subscribeToBlockBreakEvent$4(AutoSellListener.java:63) ~[XPrison-1.12.13-RELEASE.jar:?]
at me.lucko.helper.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:150) ~[helper.jar:?]
at me.lucko.helper.event.functional.single.HelperEventListener.execute(HelperEventListener.java:136) ~[helper.jar:?]
... 25 more
[23:35:59 INFO]: HOWTOCHICKEN issued server command: /sellall

Use version:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant