Advanced Fishing

Advanced Fishing

14M Downloads

Fishing rod doesn't work for some reason

onTheHoro opened this issue ยท 0 comments

commented

Minecraft Forge 1.12.2-14.23.5.2859

Advanced-Fishing-1.12.2-1.3.3

I just installed the mod on a dedicated server and on the client, tried it out, the server logs nothing, but the client logs this:

[17:15:52] [Client thread/ERROR] [FML]: Encountered an exception while constructing entity 'advanced-fishing:custom_fish_hook'
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.GeneratedConstructorAccessor82.newInstance(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_345]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_345]
	at net.minecraftforge.fml.common.registry.EntityEntryBuilder$ConstructorFactory.apply(EntityEntryBuilder.java:305) ~[EntityEntryBuilder$ConstructorFactory.class:?]
	at net.minecraftforge.fml.common.registry.EntityEntryBuilder$ConstructorFactory.apply(EntityEntryBuilder.java:291) ~[EntityEntryBuilder$ConstructorFactory.class:?]
	at net.minecraftforge.fml.common.registry.EntityRegistry$EntityRegistration.newInstance(EntityRegistry.java:99) ~[EntityRegistry$EntityRegistration.class:?]
	at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:87) ~[EntitySpawnHandler.class:?]
	at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.process(EntitySpawnHandler.java:64) ~[EntitySpawnHandler.class:?]
	at net.minecraftforge.fml.common.network.internal.EntitySpawnHandler.lambda$channelRead0$0(EntitySpawnHandler.java:55) ~[EntitySpawnHandler.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_345]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_345]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1088) [bib.class:?]
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_345]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_345]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_345]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_345]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NullPointerException
	at net.minecraft.entity.projectile.EntityFishHook.func_190626_a(EntityFishHook.java:75) ~[acf.class:?]
	at net.minecraft.entity.projectile.EntityFishHook.<init>(EntityFishHook.java:66) ~[acf.class:?]
	at nightkosh.advanced_fishing.entity.projectile.AbstractFishHook.<init>(AbstractFishHook.java:39) ~[AbstractFishHook.class:?]
	at nightkosh.advanced_fishing.entity.projectile.AbstractFishHook.<init>(AbstractFishHook.java:30) ~[AbstractFishHook.class:?]
	at nightkosh.advanced_fishing.entity.projectile.EntityCustomFishHook.<init>(EntityCustomFishHook.java:50) ~[EntityCustomFishHook.class:?]
	... 21 more

The bait just bounces instantly when touching the water.