Fix singleplayer crash

Former-commit-id: afbcdfe2024befbd5a225db049ce2f9a761e6df6
This commit is contained in:
timokoesters 2019-05-28 00:07:39 +02:00
parent cc959ccb82
commit 2fc82dcf5e

View File

@ -677,7 +677,7 @@ impl Server {
let chunk_tx = self.chunk_tx.clone();
let world = self.world.clone();
self.thread_pool.execute(move || {
let _ = chunk_tx.send((key, world.generate_chunk(key))).unwrap();
let _ = chunk_tx.send((key, world.generate_chunk(key)));
});
}
}