mojira.dev
MC-169965

Potion effect timers for higher levels can remain at 0:00 after the higher level has run out if multiple levels of the same effect were applied in descending order

The bug

If 2 (or more) levels of the same potion effect are applied in descending order, after the higher level runs out, the GUI will continue to display the higher level with the remaining time displayed as 0:00. Despite this, the lower level’s potency is what’s actually active. The GUI will continue to display the higher level potion effect with a time of 0:00 until it disappears when the lower level of the effect runs out.

To reproduce

  1. Drink a potion of the turtle master to obtain slowness 4 for 20 seconds.

  2. Immediately drink a potion of slowness to obtain slowness 1 for 1 minute and 30 seconds.

  3. Quickly open your inventory. Watch the duration of the slowness 4 count down.

  4. When it reaches 0:00, it remains as slowness 4 with a time of 0:00 instead of changing to slowness 1 with however much time is remaining for slowness 1.

Related issues

Attachments

Comments

migrated
[media]
pine1needle

This report might be a duplicate of MC-169948. However, this report is much more detailed than MC-169948 and MC-169948 is trying to report two bugs in one ticket: MC-169964 and MC-169965.

pine1needle

I’ve attached a of screenshot of the GUI continuing to display zero seconds remaining for resistance 4, strength 2, and jump boost 2.

pine1needle

Closing and reopening the inventory does not cause the GUI to show the correct level and time.

pine1needle

Changing dimensions or relogging updates the GUI to display the correct level and remaining time.

pine1needle

After doing further testing, I’ve learned that this bug does not actually require 3 different levels to be reproduced. I’ll edit the ticket accordingly.

pine1needle

boq

Confirmed

Low

Player

1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w11a

20w12a

Retrieved