Mojira Archive
MC-137296

Killing newly /given items creates ghost items in player inventory

This can be replicated by using these commands in a function pack or a command block chain being run every tick
Commands being used:

execute at @e[type=item,nbt=<insert corresponding nbt>] run give @p <item><nbt>

kill @e[type=item,nbt=<same as above>]

then drop the item

this used to give you back the item in 1.13, but in 1.13.1, the item disappears yet can still be dropped, thus creating a ghost item.

 

Fixed

Jerry Cheng

2018-10-16, 03:42 PM

2023-09-28, 08:33 PM

2023-09-28, 08:33 PM

2

1

Confirmed

(Unassigned)

Minecraft 1.13.1, 20w13b

1.17.1 Pre-release 1