mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#720: Fix bounds in documentation about power in FireworkMeta
This commit is contained in:
parent
af88996a3d
commit
958bbd7201
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue