mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-29 19:41:47 +01:00
Remove empty lines
This commit is contained in:
parent
db8219d5ee
commit
9cf897a4cc
@ -161,10 +161,8 @@ public final class ChunkUtils {
|
||||
* @param range how far should it retrieves chunk
|
||||
* @return an array containing chunks index
|
||||
*/
|
||||
@NotNull
|
||||
public static long[] getChunksInRange(@NotNull Position position, int range) {
|
||||
public static @NotNull long[] getChunksInRange(@NotNull Position position, int range) {
|
||||
long[] visibleChunks = new long[MathUtils.square(range * 2 + 1)];
|
||||
|
||||
int xDistance = 0;
|
||||
int xDirection = 1;
|
||||
int zDistance = 0;
|
||||
@ -201,7 +199,6 @@ public final class ChunkUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return visibleChunks;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user