Skip to content

Commit ba2c603

Browse files
MrHell228Faithcaio
authored andcommitted
Allow 1 for block progress
1 parent e779970 commit ba2c603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/spongepowered/api/effect/Viewer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ default void resetBlockChange(final Vector3i position) {
169169
* Sent breaking progress expires on client 400 ticks after receiving.</p>
170170
*
171171
* @param position The position
172-
* @param progress The breaking progress from 0 to 1 (1 excluded)
172+
* @param progress The breaking progress from 0 to 1
173173
*/
174174
default void sendBlockProgress(final Vector3i position, final float progress) {
175175
Objects.requireNonNull(position, "position");
@@ -186,7 +186,7 @@ default void sendBlockProgress(final Vector3i position, final float progress) {
186186
* @param x The x position
187187
* @param y The y position
188188
* @param z The z position
189-
* @param progress The breaking progress from 0 to 1 (1 excluded)
189+
* @param progress The breaking progress from 0 to 1
190190
*/
191191
void sendBlockProgress(int x, int y, int z, float progress);
192192

0 commit comments

Comments
 (0)