Duplication Glitch
You should get one item.
Instead you get two items.
1. Mine item
2. While still holding down from mining, immediately hit pause and then quit to title
3. Go back into world
4. The item will be in your inventory and back on the spot where you chopped it down already.
Linked issues
is duplicated by 12
Attachments
Comments 5
Marked as affecting 0.6.1 in favor of MCPE-2058.
0.8.0 alpha build 6
HTC Thunderbolt
I noticed this when MCPE locked up and I force closed it. I had been trying to pick up a crafting bench, and didn't think anything of it when I reentered my world after restarting MCPE, I just picked up the crafting bench that was there. I went to place what I thought was my only crafting bench at the time and found I had 2.
I think this may also be the issue that put me on top of a tree I thought I had chopped down, again after a lock up and force close cycle. The tree (and a couple of others I know I chopped down) were present again.
What I expected to happen was...:
Scenario: Expected: picking up an item, quitting and loading - the item should be in my inventory, there should not be a duplicate on the ground
Given there is an item on the ground
When I pick up the item
And force quit Minecraft pocket
And open the world again
Then the item is in my inventory
And the item is NOT on the ground
What actually happened was...:
*Scenario: Actual: picking up an item, quitting and loading - There item is duplicated - it's in my inventory and on the ground
Given there is an item on the ground
When I pick up the item
And force quit Minecraft pocket
And open the world again
Then the item is in my inventory
And the item is an item on the ground
When I pick up the item
Then I have the item twice in my inventory
Steps to Reproduce
Put one item in your inventory (step 1.png)
Throw it on the ground (step 2.png)
Wait for 10 seconds (presumably the inventory and the map chunks both save at this time)
Pick up the item
Immediately quit (presumably the inventory is saved immediately, but we are quitting before the map chunks have saved, as per comments by @unknown)
reload the world (step 3.png)
You can see you have the item in the inventory and on the ground (step 4.png)
Picking up the item proves it's duplicated, as it's in the inventory twice (step 5.png)
Doesn't follow the ACID test: http://en.wikipedia.org/wiki/ACID
System info
I am using an iPhone 6+
I am using MCPE 0.10
I am in survival mode
The problem is that the chunks(map) and the entitly(inventory) data are on separated files, i think the entitly data is saving every seconds, but the chunks data is saving every 5 seconds because the chunks.dat is the bigger file.