mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
#1053: Change docs for max power in FireworkMeta
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
adbd9c39ef
commit
7104b35192
@ -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-127
|
||||
* @throws IllegalArgumentException if {@literal height<0 or height>127}
|
||||
* @param power the power of the firework, from 0-255
|
||||
* @throws IllegalArgumentException if {@literal power<0 or power>255}
|
||||
*/
|
||||
void setPower(int power) throws IllegalArgumentException;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user