mojira.dev
MC-313754

The game crashes when villagers share gossips with very high values

The Bug:

The game crashes when villagers share gossips with very high values.

MC-254774 fixed this crash only for gossips with a value of 0.

Steps to Reproduce:

  1. Set the time to day.

  2. Summon two villagers with very high gossip values by using the commands provided below.

    /summon minecraft:villager ~ ~ ~2 {Gossips:[{Target:[I;1,2,3,4],Type:"trading",Value:2000000000},{Target:[I;1,2,3,4],Type:"minor_positive",Value:2000000000}]}
    /summon minecraft:villager ~1 ~ ~2 {Gossips:[{Target:[I;1,2,3,4],Type:"trading",Value:2000000000},{Target:[I;1,2,3,4],Type:"minor_positive",Value:2000000000}]}
  3. Wait for the villagers to walk up to each other.

  4. Observe if the game crashes.

Observed Behavior:

The game crashes.

Expected Behavior:

The game would not crash.

Attachments

Comments 2

Avoma

(Unassigned)

Unconfirmed

Crash

26.3

Retrieved