Futurepack Mod - Now with flyable Spaceships!

Futurepack Mod - Now with flyable Spaceships!

1M Downloads

[1.16.4] Using the Telescope does not give you anything

qrss opened this issue ยท 7 comments

commented

Forge version: 35.1.13
Futurepack version: 21.0.2

Using the telescope only put the message "research.planet.discover" in chat and does not give you any items.
This action creates an error message in the log.

debug.log
FP-Latest.log
latest.log

[28Dec2020 00:15:41.979] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server
java.lang.NullPointerException: null
	at futurepack.common.spaceships.SpaceshipRegistry.getItemFromPlanet(SpaceshipRegistry.java:182) ~[futurepack:1.16.4-21.0.2]
	at futurepack.common.item.misc.ItemTelescope.func_77659_a(ItemTelescope.java:38) ~[futurepack:1.16.4-21.0.2]
	at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:214) ~[?:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_187250_a(PlayerInteractionManager.java:287) ~[?:?]
	at net.minecraft.network.play.ServerPlayNetHandler.func_147346_a(ServerPlayNetHandler.java:982) ~[?:?]
	at net.minecraft.network.play.client.CPlayerTryUseItemPacket.func_148833_a(SourceFile:31) ~[?:?]
	at net.minecraft.network.play.client.CPlayerTryUseItemPacket.func_148833_a(SourceFile:9) ~[?:?]
	at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?]
	at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?]
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:733) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:716) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:710) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:696) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:645) ~[?:?]
	at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_202]
commented

Also, I'm guessing this is a typo: "futurepack:spacecoordinats" ("coordinats" vs "coordinates").

Although it might also be written in another language.

If it is a typo, now would be a good opportunity to fix this, although it doesn't really matter.

commented

I tried researching spaceflight related stuff in survival and it the issue was still there.

If it is working fine for you then I'm guessing whatever you did to fix the recipes also fixed the issue with the Telescope.

commented

I am unable to reproduce this, on which planet/dimension were you when you tried this ?

commented

I tried this in the Overworld.

I tested this after making a new world and doing:
/futurepack research @p unlock all

Maybe that has something to do with it?

I'll try to research Space Travel in survival and see if the issue still happens.

commented

Or perhaps it is already fixed in Dev. Somehow.

commented

PLease try this version 21.0.3

commented

This seems to be fixed, thanks!