chore(cargo): update dependencies

This commit is contained in:
2025-02-22 12:34:05 -05:00
parent 9b586e9b47
commit 9b9ccfd2b9
4 changed files with 62 additions and 59 deletions

View File

@@ -8,7 +8,7 @@ use azalea::{
use log::error;
use mlua::{Lua, Result, UserDataRef};
pub async fn attack(_lua: Lua, client: UserDataRef<Client>, entity_id: u32) -> Result<()> {
pub async fn attack(_lua: Lua, client: UserDataRef<Client>, entity_id: i32) -> Result<()> {
client.clone().attack(MinecraftEntityId(entity_id));
while client.get_tick_broadcaster().recv().await.is_ok() {