[MC-740] Invisibility Potions not completed in correct time displayed Created: 26/Oct/12  Updated: 03/Dec/15  Resolved: 01/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: Minecraft 1.4.3

Type: Bug
Reporter: Liam Simmons Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None
Environment:

Windows 7, Java version 7 Update 9 (build 1.7.0_09-b05)


Issue Links:
Duplicate
is duplicated by MC-117 8 min Potions running out after only ... Resolved
is duplicated by MC-2420 Potion time is inacurate Resolved
is duplicated by MC-2609 Custom potion effect time incorrect f... Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

When drinking an 8:00 long Invisibility potion, it should last the 8:00. However, at times it cuts out before finishing.

What I expected to happen was...:
After drinking the potion it should last the full 8:00.

What actually happened was...:
Sometimes the potion doesn’t last 8:00. Randomly cutting out

Steps to Reproduce:
1. Brew 8:00 long Invisibility potion
2. Check around the 2-3 mark left of time.
3. Observe when the potion time ends



 Comments   
Comment by [Mojang] Jeb (Jens Bergensten) [ 01/Nov/12 ]

The timer you see in the GUI is only client-side and may mismatch the "real" timer server-side. I've added a method that resends effects every 30 seconds in order to synchronize the timers more often.

Comment by GrygrFlzr [ 27/Oct/12 ]

Successfully replicated on SMP. I didn't want to use another 24 minutes of my life to test it on SP.
First try - stopped at 0:14, creative mode.
Second try - stopped at 0:05, survival mode.
Third try - stopped at 0:03, adventure mode.
So it does seem to be random.

Comment by Liam Simmons [ 27/Oct/12 ]


How many times did you repeat the process, When I notice this it was on multiplayer if that helps.

Comment by Gravity [ 26/Oct/12 ]

I followed your steps exactly, and the potion wore off exactly after the 0:00 mark, as expected.

Generated at Sun Jan 12 11:52:04 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.