When removing "Ghost Items" from the inventory, the number may be negative or zero
While testing MC-9813 and trying to clear the ghost items from the inventory, the messages
2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to remove
were thrown (even there were all of the items removed)
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Switch to survival mode /gamemode 0.
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
Environment
Win 7-64
Java 7U13
Linked Issues
discovered while testing1
Created Issue:
When removing "Ghost Items" from the inventory, the number may be negative or zero
Environment
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown.
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown.
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
W
hile testingMC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown.
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
Win 7-64
Java 7U13
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown.
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown (even there were all of the items removed)
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
discovered while testing
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown (even there were all of the items removed)
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
While testing
MC-9813and trying to clear the ghost items from the inventory, the messages2013-02-15 06:49:16 [CLIENT] [INFO] [CHAT] Inventar von Kumasasa geleert, -5 Gegenstände entfernt 2013-02-15 06:49:21 [CLIENT] [INFO] [CHAT] §cCould not clear the inventory of Kumasasa, no items to removewere thrown (even there were all of the items removed)
Steps to reproduce:
- Clear the inventory
- Place a minecart in slot 1 of the hotbar
- Pick Block that item and place in empy slot (repeat some times)
- Switch to survival mode /gamemode 0.
- Place some minecarts
- Drop a minecart with Q
- Walk over it (Inventory will be filled)
- issue "/clear"
