Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PotionEffect duration unit JavaDocs #1269

Closed
randombyte-developer opened this issue Jun 12, 2016 · 0 comments
Closed

PotionEffect duration unit JavaDocs #1269

randombyte-developer opened this issue Jun 12, 2016 · 0 comments

Comments

@randombyte-developer
Copy link

randombyte-developer commented Jun 12, 2016

To construct a PotionEffect you have to give the duration of the effect. Here in the builder, here in the factory(?) method and here another occurrence. The docs for these methods don't state what unit is used for the duration. Here I learned that the unit is ticks. This should be stated in the docs.

@ghost ghost mentioned this issue Feb 11, 2017
5 tasks
parlough added a commit to parlough/SpongeAPI that referenced this issue Nov 7, 2017
parlough added a commit to parlough/SpongeAPI that referenced this issue Nov 7, 2017
kashike pushed a commit that referenced this issue Nov 10, 2017
…docs

Specifies the unit of potion effect duration, fixes #1269
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants