Linux farmhand can duplicate golden walnuts after warping

pneuma163

Farmhand
repro steps:
1. Host the save
2. Join as a farmhand
3. Go to a golden walnut location that allows a quick exit - e.g. the tree inside Leo's hut - and initiate the creation of the walnut (hit the tree)
4. Warp out of the location before the golden walnut can reach you

Expected behavior: gain the relevant number of golden walnuts
Actual behavior: get double the number of golden walnuts

Other relevant details tested:
If there are multiple farmhands (e.g. a 3 person save) the golden walnut count is only doubled, not tripled (so maybe it's creating the walnuts for both the active farmhand and the host)
If the expected number of walnuts is more than 1, the actual number is duplicated, not increased by only 1 (e.g. a speed buff to leave the mermaid who gives 5 now gives 10)

Untested:
Which location the host must be (but presumably not in the location with the farmhand)

I assume this is related to code around the golden walnut being treated as essential in Debris.isEssentialItem so this bug may apply more generally to any item that cannot be trashed (but unlike tools can still become Debris)
  • version number: 1.6.15 build 24356
  • OS is Linux Mint 21.3 Cinnamon (Unix 5.15.0.142)
  • Language: English
  • Multiplayer
  • Playing with keyboard
 

Attachments

Top