mojira.dev
MC-115392

Only host can unlock advancements on LAN

Started a survival world last night, set doLimitedCrafting to true, (doFireTick false) locked difficulty to hard and opened to LAN (cheats on). Wife joined me and we began punching trees. I could craft planks normally as expected, she never got the option to craft anything at all.

Linked issues

Attachments

Comments 10

The gamerule is meant to prevent the player from crafting items that they did not discover or unlock the recipe for. Crafting planks from a log is what unlocks the planks recipe, but turning the gamerule on after that point will prevent newcomers from crafting planks because they did not unlock the recipe. Having that gamerule set to true essentially requires the use of the /recipe command to provide the player with recipes.

What? No. Acquiring wood and having that in your inventory unlocks the planks recipe. She did that and did not get the planks recipe. Crafting planks and placing those in your inventory unlocks the crafting bench recipe. Are you saying that because I crafted planks on an Open to LAN game with doLimitedCrafting on she can never craft planks without being given the recipe through the give command or a Knowledge Book? That makes no sense whatsoever.

Oops, my bad. When testing I had forgotten to revoke the advancement, and it would then only unlock the recipe by crafting planks. Could you zip the affected world and attach it here?

Ok. Still a bit confused, but that's Ok. I've zipped and uploaded the world.

Looked into it with another computer: the primary issue is connected clients other than the host will not unlock any advancements beyond the first one, in which they will crash first (MC-114961). The gamerule highlights this, but isn't the root of the issue (as it being off still doesn't let other clients unlock advancements).

Thanks for the update, I understand the issue now and thought it might be related to the server issue that was supposedly fixed in "b".

I can confirm that this issue occurs on mac too. I play with my brother. I really hope this gets fixed soon.

Unless you can reproduce in a new version, I think this was fixed some time ago

I do believe you are correct, but I will verity this weekend (probably Sunday).

Fixed in 17w17b (or earlier).

Michael

(Unassigned)

Confirmed

Minecraft 17w13b

Minecraft 17w17b

Retrieved