I know of a fix for the problem on a papermc server.
First, here is an explanation of what happens for me (AFAIK) The issue is the buried treasure map is generated by the server searching to find an unexplored/ungenerated buried treasure. This doesn't work on my server, as all chunks are already pre generated / "explored".
To fix this issue, I disabled the check the server does to see if the chest has already been looted (chunk generated). This was successful.
I have opened a GitHub issue for papermc to suggest loot tables be set to false
NOTE: MY WORLD IS PRE GENERATED!!
I know of a fix for the problem on a papermc server.
First, here is an explanation of what happens for me (AFAIK)
The issue is the buried treasure map is generated by the server searching to find an unexplored/ungenerated buried treasure. This doesn't work on my server, as all chunks are already pre generated / "explored".
To fix this issue, I disabled the check the server does to see if the chest has already been looted (chunk generated). This was successful.
I have opened a GitHub issue for papermc to suggest loot tables be set to false
temporarily whilst this issue is fixed here: https://github.com/PaperMC/Paper/issues/10069
This is my paper-world-defaults.yml
https://github.com/PaperMC/Paper/issues/10069#issue-2054705179