Immersive Portals

Immersive Portals

5M Downloads

Crash using /locate on dedicated server with CavesAndCliifsPreview datapack

svenhjol opened this issue ยท 2 comments

commented

Might be related to #754 ?

A crash occurs when using /locate to find a structure from Repurposed Structures alongside IP when the CavesAndCliffsPreview 1.17.1 datapack is loaded on the dedicated server. I've attached the crash log though it's not super helpful.

The crash does not occur:

  • when running RS, IP and the datapack on a local world,
  • when the dedicated server is not using the datapack.

I have tested using IP 0.12 and 0.14 (from https://qouteall.fun/immptl) - both produce the issue.
Minecraft: 1.17.1
Fabric API: 0.37.0
RS: 2.0.1
Cloth config (dependency of RS): 5.0.34

Also tested with Charm. Worldgen fails but doesn't outright crash. Searching for a custom structure with /locate returns "Could not find that structure nearby" when IP and datapack are present, but resolves the location when IP is removed.

crash-clip.txt

commented

Attaching deobfuscated crash log from a local clone of IP set up to simulate the problem. Hopefully more useful than the original.

deobf.txt

commented

PR created to fix this. Have tested with locating RS structures and it no longer crashes, but more testing may be necessary. #789

Credit to @TelepathicGrunt who pointed me in the right direction!