I have two minecraft accounts which I use on one computer.
When I play in any world as my main character, after I log out of minecraft and sign in again with my secondary account (for map testing), I'm still playing as my main character in the same location with same inventory, skin, etc.
No matter how many times I login on minecraft as my first or second account, I only play as my first one. But player data is created for the account I intended to play as.
Linked issues
duplicates 1
testing discovered 1
Comments 9
I thought something similar, but then I don't understand why my second account would have the same player skin as my first one.
Also, I've just tried creating a new world signed in as my second account, and I still appeared to be the wrong account.
EDIT: I forgot to mention that I have also been able to do this without any problems before. In 1.3 I think.
The skin would be a seperate issue, and I think it is determined by which account installed the game.
The inventory, etc. is intended to work this way, with the information about the player stored in the level.dat
I'm making MC-12462 to take care of the skin issue
You did it without problems in 1.3, which is before 1.3.1 (being noninclusive)?
1.3.1 is the version where SP became implemented as a MP server.
Thanks for your help, but it seems more than just a skin issue. I've just tried borrowing a friend's account, trying old worlds and new worlds, moving locations and changing characters. It seems no matter whether I sign in as account A, B, or C, I'm always playing as account A.
I've used my B account to test worlds before and have had friends play on my computer as their own characters with no problems before, most recently in 1.3 I believe.
Yes, I know, I opened a new bug for the skin issue.
The inventory and location for single-player mode is stored in the level.dat file, which does not discern between accounts. Therefore, even if you were to zip it up and send it to me, I would have the same location and inventory as you. (Probably not the same skin, though, if my theory is correct)
Oh I see. That's a pain though.
I guess the only way I could accurately test my maps is to open my world to lan and have a friend's laptop login as my B account and play it multiplayer.
Thanks again for your help.
I believe this is a dupe of MC-697, although this one doesn't explicitly mention the duplication exploit it implies.
The player in single-player is named Player, and uses the player.dat files, not files specific to the account.
I'd mark as invalid.
EDIT: Actually, I think I'm partially incorrect...my current save only has my own .dat files...
EDIT 2: The single-player character is saved in the level.dat file, according to the first paragraph of http://www.minecraftwiki.net/wiki/Player.dat_format .