-
Bug
-
Resolution: Fixed
-
Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w37b, Minecraft 1.7, Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w04b, Minecraft 1.7.5
-
Unconfirmed
Steps to Reproduce:
- Execute a command such as
/give @p cake 1 1 {AttributeModifiers:[{AttributeName:"generic.maxHealth"}]}
- Observe that the command may declare "An unknown error occurred while attempting to perform this command", but you are still given the item.
- Hover over the item, or attempt to scroll the hotbar over it, and observe that the game immediately crashes.
- Try re-loading the world. If the bugged item is still in your held slot, you will immediately crash again: the world is now unplayable unless you use a third-party tool to repair it.
What I expected to happen was:
If the command realized that there was an error, why did it still give me a corrupt item? I would have expected to not be given anything, if the tag is incorrectly formatted.
To be honest, this happened on accident; I certainly didn't expect my save to be corrupted.
Note: This is NOT a duplicate of any bug with a similar crash report, unless that bug follows steps similar to the above. I'm aware that similar crashes exist because the crash occurs when attempting to look at a corrupt item. However, this bug report is that /give is able to create corrupt items, not that corrupt items cause crashes.
- is duplicated by
-
MC-30818 Game crashed on spawning an item in multiplayer, error message in chat on spawning an item in singleplayer.
- Resolved
-
MC-30851 command /give crash minecraft
- Resolved
-
MC-30863 /give Bug with item data
- Resolved
-
MC-30876 Crash when attempting to get named player heads
- Resolved
- relates to
-
MC-30865 /give bug named items WITH Commandblocks only
- Resolved
-
MC-31382 /Summon command (with enchantment IDs higher than 255) crashed Minecraft
- Resolved
-
MC-29807 Using /Summon with ActiveEffects Crashes the Cilent
- Resolved