mojira.dev
MC-64573

Bug when Drinking a Custom potion with damage value 0 (Water Bottle)

Put the summary of the bug you're having here

What I expected to happen was...:
Trade from a custom villager, drink a potion, Get the wither effect

What actually happened was...:
looked in my inventory, The Game Froze, and a crash report popped up

Steps to Reproduce:
1. Type in this command:

summon Villager ~-2 ~-1 ~ {Career:5,CareerLevel:100,Profession:1,CustomName:"Perks",Silent:1,Attributes:[{Name:"generic.movementSpeed",Base:0}],Invulnerable:1,Offers:{Recipes:[{sell:{id:potion,Count:1,tag:{display:{Name:"Wither",Lore:["Become the Wither..."]},HideFlags:32,CustomPotionEffects:[{Id:20,Amplifier:0,Duration:100}]}},buy:{id:emerald,Count:45}}]}}

2. Complete the trade
3. Drink the potion
4. look in inventory

Comments 3

Please attach the crash report.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Eric Wiles

(Unassigned)

Unconfirmed

Minecraft 14w31a

Retrieved