aboutsummaryrefslogtreecommitdiff
path: root/bot/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-18 14:08:34 -0500
committermat <github@matdoes.dev>2022-06-18 14:08:34 -0500
commitd8e0457b62f5826183671e5b05890b400be35709 (patch)
treed40dccc61a2e96d60e2f678bca075102b28232c8 /bot/src
parent614b21129804930159f041ce3f51202bc3e1c0b6 (diff)
downloadazalea-drasl-d8e0457b62f5826183671e5b05890b400be35709.tar.xz
from<ClientboundAddEntityPacket> for Entity
Diffstat (limited to 'bot/src')
-rw-r--r--bot/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/main.rs b/bot/src/main.rs
index 2618675e..287dd4f6 100644
--- a/bot/src/main.rs
+++ b/bot/src/main.rs
@@ -6,7 +6,7 @@ async fn main() {
println!("Hello, world!");
// let address = "95.111.249.143:10000";
- let address = "localhost:51028";
+ let address = "localhost:52909";
// let response = azalea_client::ping::ping_server(&address.try_into().unwrap())
// .await
// .unwrap();
@@ -23,7 +23,7 @@ async fn main() {
Event::Chat(p) => {
let state = client.state.lock().await;
let world = state.world.as_ref().unwrap();
- // println!("{:?}", state.player.entity);
+ println!("{:?}", state.player.entity());
// world.get_block_state(state.player.entity.pos);
// println!("{}", p.message.to_ansi(None));
// if p.message.to_ansi(None) == "<py5> ok" {