Make ChunkData use Vector2 instead of ChunkCoordinates
This commit is contained in:
1 parent
5f05a1886b
commit
8bb00e26be
9 files changed
+127
-30
No files matched your search
@@ -370,8 +370,7 @@ impl Server {
|
||||
Err(_) => continue,
|
||||
};
|
||||
#[cfg(debug_assertions)]
|
||||
if chunk_data.position == (pumpkin_world::coordinates::ChunkCoordinates { x: 0, z: 0 })
|
||||
{
|
||||
if chunk_data.position == (0, 0).into() {
|
||||
use pumpkin_protocol::bytebuf::ByteBuffer;
|
||||
let mut test = ByteBuffer::empty();
|
||||
CChunkData(&chunk_data).write(&mut test);
|
||||
|
||||
Reference in new issue
Block a user