Skip to content

Infinite potion effects turn negative after rejoin #2289

Description

@Us3ful-dev

I've searched existing issues and couldn't find a duplicate.

  • I confirm this is not a duplicate.

Operating System

Linux Mint 22.3 - Xfce 64-bit

Server Software Version/Commit

0.1.0-dev+26.1/461a5eb

What happened?

I gave myself infinite night vision
I rejoined the server
The potion effect duration turned to 00:-3
(this also sometimes causes screen flicker in the distance)
(i used a java 26.2 client)

To Reproduce

give yourself any infinite potion effect using /effect give @p minecraft:night_vision infinite (1-255) (true/false)

Expected behavior

potion effect stays infinite and does not turn negative

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions