aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-04 02:11:39 +0100
committermat <git@matdoes.dev>2026-01-03 18:42:16 -0630
commit57394c07a5de53061f868c131b42007707a2d7f1 (patch)
tree343f07a2cfb556ee7d1383376946b294dce28a5a /azalea/examples
parenta4a63ead6e00a645899bf87deea4ec94a66703f3 (diff)
downloadazalea-drasl-57394c07a5de53061f868c131b42007707a2d7f1.tar.xz
fix incorrect attack cooldowns for tools
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot/commands/debug.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs
index 36c699a4..c1837f97 100644
--- a/azalea/examples/testbot/commands/debug.rs
+++ b/azalea/examples/testbot/commands/debug.rs
@@ -10,11 +10,15 @@ use azalea::{
pathfinder::{ExecutingPath, Pathfinder},
};
use azalea_core::hit_result::HitResult;
-use azalea_entity::{EntityKindComponent, metadata};
+use azalea_entity::{EntityKindComponent, LocalEntity, metadata};
use azalea_inventory::components::MaxStackSize;
use azalea_world::InstanceContainer;
use bevy_app::AppExit;
-use bevy_ecs::{message::Messages, query::With, world::EntityRef};
+use bevy_ecs::{
+ message::Messages,
+ query::{With, Without},
+ world::EntityRef,
+};
use parking_lot::Mutex;
use super::{CommandSource, Ctx};