mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
Fix error
This commit is contained in:
parent
bb6b116cb8
commit
7f7b979125
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
// TODO: have a "loaded" or "ready" event that fires when all chunks are loaded
|
||||
Event::Login => {}
|
||||
Event::Chat(_p) => {
|
||||
let state = &client.state.lock()?;
|
||||
let state = client.state.lock().unwrap();
|
||||
let world = state.world.as_ref().unwrap();
|
||||
println!("{:?}", world);
|
||||
// world.get_block_state(state.player.entity.pos);
|
||||
|
|
Loading…
Add table
Reference in a new issue