#720: Fix bounds in documentation about power in FireworkMeta

This commit is contained in:
Doc 2022-01-28 08:29:00 +11:00 committed by md_5
parent af88996a3d
commit 958bbd7201
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -86,8 +86,8 @@ public interface FireworkMeta extends ItemMeta {
* Sets the approximate power of the firework. Each level of power is half
* a second of flight time.
*
* @param power the power of the firework, from 0-128
* @throws IllegalArgumentException if {@literal height<0 or height>128}
* @param power the power of the firework, from 0-127
* @throws IllegalArgumentException if {@literal height<0 or height>127}
*/
void setPower(int power) throws IllegalArgumentException;