Skip to content

Conversation

JRoy
Copy link
Member

@JRoy JRoy commented Jul 27, 2025

Minecraft understands infinite durations to be -1 and only -1. Our second -> tick conversion was changing this to -20 causing a potion command with a -1 duration to end up as -20 and only causing the potion to occur for 1 tick.

Fixes #5558

@JRoy JRoy added this to the 2.22.0 milestone Jul 27, 2025
@JRoy JRoy added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module labels Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support infinite duration for the /potion command
1 participant