problem of command shadow(1.16.5)
P31pr opened this issue ยท 3 comments
It's known that /player [player's name] shadow
doesn't work in single player mode and the single player server will stop working if you try to make yourself shadow. I tried to use this command in my single player save and I found that the fake player seems to join the game not with the latest playerdata but the playerdata saved last time. When I opened the save again, I found that the playerdata was not saved but the world was updated. For example, I can duplicate any item by following the process below:
- get the item you want to duplicate in your inventory
- save and quit to title
- open the save again
- drop the item you want to duplicate on the ground
- type'/player [your name] shadow' and enter
- you will see 'you are logged in from another location', click 'back to server list' and then back to title screen
- open the save again, you'll see the item you want to duplicate both in your inventory and on the ground
Does this problem persist in newer versions? (I mean, it probably does, but we're not supporting 1.16.5)
Does this problem persist in newer versions? (I mean, it probably doesn't, but we're not supporting 1.16.5)
I've just tried it in 1.18.2 and found the problem remains
I mean't doesn't not does, mah bad. Also, I think there are plans to redo /player shadow that may make this problem obsolete.. if not, ig the solution would be if you do /player [shadow] yourself, then we detect that, save your inventory, and then copy the inventory onto the newly spawned player. Tho im not 100% sure that would work in SP.