diff --git a/aether-core/CHANGELOG.md b/aether-core/CHANGELOG.md index 05bcc9a..3d3fd02 100644 --- a/aether-core/CHANGELOG.md +++ b/aether-core/CHANGELOG.md @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - Removed azalea patch i.e. [`better-1.20.6`](https://github.com/as1100k-forks/azalea.git) +### Fixed +- Removed Auto Eat [Issue #24](https://github.com/AS1100K/aether/issues/24) + ## [0.3.0-beta.1] 07-08-2024 ### Added diff --git a/aether-core/src/chat.rs b/aether-core/src/chat.rs index e424bbd..1078590 100644 --- a/aether-core/src/chat.rs +++ b/aether-core/src/chat.rs @@ -39,8 +39,6 @@ pub fn handle_chat( mut commands: Commands, mut send_chat_event: EventWriter, mut load_pearl: EventWriter, - mut start_auto_eat: EventWriter, - mut stop_auto_eat: EventWriter, ) { for ChatReceivedEvent { entity, packet } in events.read() { for (state, in_world) in query.iter() { @@ -93,9 +91,6 @@ pub fn handle_chat( }, }); commands.entity(*entity).insert(AutoTotem); - start_auto_eat.send(StartAutoEat { - use_inventory: true, - }); if let Some(discord_bot) = &discord_bot_res { if let Some(chat_relay_channel_id) = state.chat_relay_channel_id { @@ -140,7 +135,6 @@ pub fn handle_chat( commands.entity(*entity).remove::(); commands.entity(*entity).remove::(); commands.entity(*entity).remove::(); - stop_auto_eat.send(StopAutoEat); commands.entity(*entity).remove::(); commands.entity(*entity).remove::(); }