mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-17 23:01:01 +01:00
#720: Fix bounds in documentation about power in FireworkMeta
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
945ba17577
commit
4504a6a32d
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…
Reference in a new issue