Commits

Doc authored and md_5 committed 4068c6aa920
#1053: Change docs for max power in FireworkMeta
No tags

src/main/java/org/bukkit/inventory/meta/FireworkMeta.java

Modified
79 79 * Gets the approximate height the firework will fly.
80 80 *
81 81 * @return approximate flight height of the firework.
82 82 */
83 83 int getPower();
84 84
85 85 /**
86 86 * Sets the approximate power of the firework. Each level of power is half
87 87 * a second of flight time.
88 88 *
89 - * @param power the power of the firework, from 0-127
90 - * @throws IllegalArgumentException if {@literal height<0 or height>127}
89 + * @param power the power of the firework, from 0-255
90 + * @throws IllegalArgumentException if {@literal power<0 or power>255}
91 91 */
92 92 void setPower(int power) throws IllegalArgumentException;
93 93
94 94 @Override
95 95 @NotNull
96 96 FireworkMeta clone();
97 97 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut