diff options
Diffstat (limited to 'azalea/src/bot.rs')
| -rw-r--r-- | azalea/src/bot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs index 1570fa5e..26e35fda 100644 --- a/azalea/src/bot.rs +++ b/azalea/src/bot.rs @@ -33,7 +33,7 @@ impl BotTrait for azalea_client::Client { #[async_trait] impl crate::Plugin for Plugin { - async fn handle(self: Arc<Self>, mut bot: Client, event: Arc<Event>) { + async fn handle(self: Arc<Self>, event: Arc<Event>, mut bot: Client) { if let Event::Tick = *event { let mut state = self.state.lock(); if state.jumping_once { |
