#1053: Change docs for max power in FireworkMeta

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2024-08-17 08:37:41 +10:00
parent adbd9c39ef
commit 7104b35192

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-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;