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

Could not pass event McMMOPlayerFishingTreasureEvent to MobHunting v8.5.2 #763

Open
MoeShimaKaze opened this issue Jun 4, 2023 · 0 comments

Comments

@MoeShimaKaze
Copy link

MCmmo version:2.1.219
MobHunting version:8.5.2
Server version:git-Purpur-1980 (MC: 1.19.4)
plugins:AdvancedBan, AllMusic, AttributePlus, AuctionHouse, AuthMe, BetterRTP, Chunky, Citizens, CMILib, CommandsUse, ConsoleSpamFix, CoreProtect, Cultivation, CustomItemsLib, DiceFurniture, DynamicDifficulty, dynmap, EClean, ECommands, EcoPower, ECore, Essentials, EssentialsProtect, EvenMoreFish, FurnitureLib, GuizhanLibPlugin, HardcoreSlimefun, HolographicDisplays, ILoreEdit, Iris, Jobs, LiteXpansion, LockettePro, LuckPerms, mcMMO, McMmoView, MobHunting, Multiverse-Core, Multiverse-NetherPortals, NBTAPI, Netheopoiesis, Networks, NyaaCore, ourtown, PlaceholderAPI, PlayerTask, PlayerTitle, PlayTimeTracker, PlugManX, ProtectionLib, ProtocolLib, QuickShop, RelicsOfCthonia, SignShop, SkinsRestorer, Slimefun, SlimefunLuckyBlocks, SlimeFunRecipe, SlimeGlue, spark, TabTPS, TrChat, UKit, Vault, Vulcan, WorldEdit
ERROR log:
[09:11:25 ERROR]: Could not pass event McMMOPlayerFishingTreasureEvent to MobHunting v8.5.2 java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.getType()" because "s" is null at one.lindegaard.MobHunting.compatibility.McMMOCompat.Fish2(McMMOCompat.java:123) ~[MobHunting-8.5.2.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor766.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:git-Purpur-1980] 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-1980] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.19.4.jar:git-Purpur-1980] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at com.gmail.nossr50.util.EventUtils.callFishingTreasureEvent(EventUtils.java:493) ~[mcMMO 2.1.219.jar:?] at com.gmail.nossr50.skills.fishing.FishingManager.processFishing(FishingManager.java:419) ~[mcMMO 2.1.219.jar:?] at com.gmail.nossr50.listeners.PlayerListener.onPlayerFishMonitor(PlayerListener.java:466) ~[mcMMO 2.1.219.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor57.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:git-Purpur-1980] 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-1980] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.19.4.jar:git-Purpur-1980] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] at net.minecraft.world.entity.projectile.FishingHook.retrieve(FishingHook.java:516) ~[?:?] at net.minecraft.world.item.FishingRodItem.use(FishingRodItem.java:32) ~[?:?] at net.minecraft.world.item.ItemStack.use(ItemStack.java:531) ~[purpur-1.19.4.jar:git-Purpur-1980] at net.minecraft.server.level.ServerPlayerGameMode.useItem(ServerPlayerGameMode.java:481) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItem(ServerGamePacketListenerImpl.java:2122) ~[?:?] at net.minecraft.network.protocol.game.ServerboundUseItemPacket.handle(ServerboundUseItemPacket.java:32) ~[?:?] at net.minecraft.network.protocol.game.ServerboundUseItemPacket.a(ServerboundUseItemPacket.java:8) ~[?:?] 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-1980] 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-1980] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.4.jar:git-Purpur-1980] 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-1980] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1339) ~[purpur-1.19.4.jar:git-Purpur-1980] 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-1980] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1205) ~[purpur-1.19.4.jar:git-Purpur-1980] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1980] at java.lang.Thread.run(Thread.java:833) ~[?:?]
How to touch off: player use the EvenMoreFish's rod to fish EvenmoreFish's Fish,it will cause this error

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