#720: Fix bounds in documentation about power in FireworkMeta

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2022-01-28 08:29:00 +11:00
parent 945ba17577
commit 4504a6a32d

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;