Project MMO

Project MMO

10M Downloads

Crashing on generating new world on server.

nokosi1736 opened this issue · 7 comments

commented

Describe the bug
Describe exactly what you observed
When trying to generate a new map it gets to around 42% before crashing the server, it loads the map fine in singleplayer
Expected behavior
A clear and concise description of what you expected to happen.
to be able to generate a map in multiplayer for a server
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Versions:

  • Minecraft: 1.19.2
  • Loader: forge 43.1.30
  • PMMO: 1.19-0.4.1

Additional context
Add any other context about the problem here.
When I removed the mod from my server I could generate a load a new map.

commented

Please provide a crash log.

commented

Not sure if this is the same crash, but I tried to make a new world on single player and it crashed my client on the first try-
https://gist.githubusercontent.com/ProsperCraft/d748bdaf37df76f542fdd88c5ef503f8/raw/e87fe3185501841d233fef674aac2b2669199b6e/gistfile1.txt
pmmo-1.19-0.4.2
Forge .32

commented

But oddly, the server didn't crash on creating a world.

commented

I see the issue. It's related to loot tables being called during worldgen and pmmo not having cached the server instance at that stage. The attached file should fix your issue. if it does i'll push a hotfix version.
pmmo-1.19-0.4.2a.zip

commented

I can confirm that this fixes the problem.

commented

Thank you. I will get an update pushed today.