[1.7] Client crash when equipping bait on server
Summary
Client crashes when trying to put bait on a PokeRod while on a server. (works in singleplayer)
Steps to reproduce
- Login on a Server.
- Get a PokeRod.
- Get any bait.
- Right-Click the bait on the PokeRod.
What is the current bug behavior?
client crash
What is the expected correct behavior?
PokeRod should equip the bait. no crash.
Cobblemon Version and Mod Loader
Fabric, 1.7
Mods used besides Cobblemon
-
Relevant logs, screenshots and/or videos
java.lang.NullPointerException: Container click
at knot//com.cobblemon.mod.common.api.events.fishing.BaitSetEvent.<init>(BaitSetEvent.java:26)
at knot//com.cobblemon.mod.common.item.interactive.PokerodItem.method_31566(PokerodItem.java:100)
Additional Information
-