Skip to content

Commit 7612a9d

Browse files
MrHell228Faithcaio
authored andcommitted
Make progress double instead of float
1 parent ba2c603 commit 7612a9d

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
@@ -171,7 +171,7 @@ default void resetBlockChange(final Vector3i position) {
171171
* @param position The position
172172
* @param progress The breaking progress from 0 to 1
173173
*/
174-
default void sendBlockProgress(final Vector3i position, final float progress) {
174+
default void sendBlockProgress(final Vector3i position, final double progress) {
175175
Objects.requireNonNull(position, "position");
176176
this.sendBlockProgress(position.x(), position.y(), position.z(), progress);
177177
}
@@ -188,7 +188,7 @@ default void sendBlockProgress(final Vector3i position, final float progress) {
188188
* @param z The z position
189189
* @param progress The breaking progress from 0 to 1
190190
*/
191-
void sendBlockProgress(int x, int y, int z, float progress);
191+
void sendBlockProgress(int x, int y, int z, double progress);
192192

193193
/**
194194
* Resets the client's view of the provided position to actual

0 commit comments

Comments
 (0)