mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-16 21:21:22 +01:00
Fix wrong constant being used
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
75dbacf8aa
commit
73237bb11b
@ -200,7 +200,7 @@ public abstract class Chunk implements BlockGetter, BlockSetter, Viewable, Ticka
|
|||||||
* @return the position of this chunk
|
* @return the position of this chunk
|
||||||
*/
|
*/
|
||||||
public @NotNull Point toPosition() {
|
public @NotNull Point toPosition() {
|
||||||
return new Vec(CHUNK_SIZE_Z * getChunkX(), 0, CHUNK_SIZE_Z * getChunkZ());
|
return new Vec(CHUNK_SIZE_X * getChunkX(), 0, CHUNK_SIZE_Z * getChunkZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user