Globox1997 / DungeonZ

https://modrinth.com/mod/dungeonz
https://legacy.curseforge.com/minecraft/mc-mods/dungeonz
MIT License
4 stars 2 forks source link

Ticking entity crash upon teleporting into dungeon on cooldown. #2

Open ButterMe8aby opened 1 year ago

ButterMe8aby commented 1 year ago

Minecraft Version

1.19.x

Mod Loader Version

0.14.6

Mod Version

1.0.1

Describe the Issue

Entered a dungeon on Hard mode to test out the mod, looked around inside, then died to some skeletons. Used JourneyMap to teleport to the gravestone generated upon death, now my player is registered as a ticking entity and the world crashes on launch.

I have a feeling it might be due to how the dungeons are locked whenever someone exits, a workaround might be to allow players that already entered to go inside again to get their dropped items if they died, just don't generate new loot and mobs until the cooldown for the dungeon is up, or maybe have their loot be dropped on the outside of the dungeon instead?

latest.log

latest.log

Do you use any other mods except the required ones?

I use a lot of other mods, I'll try to recreate the issues with only DungeonZ and JourneyMap at some point.

ButterMe8aby commented 1 year ago

Update- Beginning to think it might have something to do with origins/powers and such. Teleported back inside and outside of the dungeon multiple times with no issue, used a power related to my origin and the game crashed. Maybe something with how the datapack is handled inside of the dungeon, idk.

latest.log

Globox1997 commented 11 months ago

Fixed the null crash with https://github.com/Globox1997/DungeonZ/commit/1bc9d5f2e189baaefd1829e19e80b9e186b62951