isXander / isXander/Controlify

[Bug] Player doesn't stop eating when inventory is opened

Open
#752 0 comments 0 reactions 1 assignee View on GitHub

@isXander is already working on this.

Since Dec 22, 2025.

bug
Dominant language
Java
Stars
341
Forks
97
Avg merge
1h
Merged PRs (30d)
1

Description

Current Behaviour

If you start holding the eat button, and while holding it, open the inventory and then release it, the food starts being eaten by itself.

Expected Behaviour

The food should stop being eaten when the inventory gets opened.

Screenshots

No response

Reproduction Steps
  1. Hold the use button while holding food in hand
  2. Open the inventory while holding the use button
  3. Release the use button
  4. Food starts to get eaten by itself
Logs

Mod Version

2.5.0+1.21.11

Controller

Xbox Series Controller

Bluetooth
  • Yes
Operating System

Windows

ARM
  • Yes
Additional Information

No response

Just to make sure...
  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.