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

Interacting with certain villagers with the villager trade rebalance enabled causes client crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w19a
    • 24w18a
    • None
    • Community Consensus
    • Crash
    • Very Important
    • Platform

      When interacting with a villager with the villager trade rebalance enabled, if that villager's career and level could generate ItemAndEmeraldsToItems type trades that sell enchanted items (e.g. plains armorer), then the game will crash.

       

      To reproduce:

      1. Create a new world. Make sure the villager trade rebalance is enabled.
      2. Level an armorer up to either expert (does not apply to expert level taiga villagers) or master level.
      3. Save and quit the world.
      4. Reopen the world.
      5. Interact with the armorer.
      6. The game will crash.

       

      I've also attached both a crash report from a vanilla client and one that is deobfuscated with the official mappings.

            gegy1000 [Mojang] Gegy
            Captain_S0L0 Captain_S0L0
            Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: