Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-101063

Invalid item id in villager trading causes client, who tries to trade, to crash

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1
    • Fix Version/s: Minecraft 16w32b
    • Labels:
      None
    • Environment:

      Mac OS X (x86_64) version 10.10.5; Java Version: 1.8.0_74

    • Confirmation Status:
      Confirmed

      Description

      Summon Villager with:

      /summon Villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"stone",Count:1b},sell:{id:"-",Count:1b}}]}}

      Afterwards attempt to trade with him and it will crash the client. Works on server or on single player

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jer@supertechguy.com supertechguy
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: