[Bug, 1.20.1]: Villager Hats compat causing clients to disconnect on servers
NovelPhacelia opened this issue ยท 5 comments
What happened?
Clients disconnect from server when bounties update with villager hats, Villager Hats version 1.6.1
How can we reproduce it?
- Join a server with Villager Hat and Bountiful (This don't work on client, but still outputs logs)
- Go to a village
Mod Version
6.0.3
Mod Loader
Fabric
Mod Loader Version
0.86.0
Relevant log output
latest.log
[16:24:25] [Server thread/WARN]: Bountiful reward pool entry is not valid!: all_rew_villager_hats_random_hat
[16:24:25] [Server thread/WARN]: Bounty Pool Entry Invalid: (all_rew_villager_hats_random_hat - #villager-hats:hats) details: {
"type": "minecraft:item_tag",
"rarity": "RARE",
"content": "#villager-hats:hats",
"name": null,
"icon": null,
"amount": {
"min": 1,
"max": 1
},
"unitWorth": 2000.0,
"weightMult": 0.009090909090909092,
"timeMult": 1.0,
"repRequired": 0.0,
"forbids": [
],
"conditions": null,
"mystery": false,
"nbt": null
}
Interesting - do you have a client version of this log? This simply contains warnings and no crash; it could be a recursive loop timing out, but I don't see any sort of recursive stack limit being reached.
latest.log
Tried it with the full list of mods and got the same result, it only disconnects me on servers but the server itself never crashes
For now, you can disable the Villager Hats compat datapack by running this on the server:
/datapack disable "bountiful:compat-villager-hats"
I hope that helps!