This PR fixes vulnerability that can be used for stealing tools of other players' anvils. In other words, any player could take/put damaged tools on any anvil using a special clientside mod.
How to test
Place the anvil in the singleplayer world and put any tool on it.
Rejoin the same world with different nickname(check "Host Server" in the menu and specify nickname).
Try to take the previously placed tool using the the above clientside mod.
Apply the patch from this PR and repeat above steps
This PR fixes vulnerability that can be used for stealing tools of other players' anvils. In other words, any player could take/put damaged tools on any anvil using a special clientside mod.
How to test