From 7104b35192e5d08d0b3583acd46ef6b4fb0dc209 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 17 Aug 2024 08:37:41 +1000 Subject: [PATCH] #1053: Change docs for max power in FireworkMeta By: Doc --- .../src/main/java/org/bukkit/inventory/meta/FireworkMeta.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/FireworkMeta.java b/paper-api/src/main/java/org/bukkit/inventory/meta/FireworkMeta.java index cdbcc8dbab..9bd15803cd 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/FireworkMeta.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/FireworkMeta.java @@ -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;