Skip to content

Commit

Permalink
Adjust Key
Browse files Browse the repository at this point in the history
  • Loading branch information
yuesha-yc committed Jan 15, 2025
1 parent ee9967f commit 6ea3310
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public static FoodNutritionStats create(Item item) {
public void modify(ItemTooltipEvent context) {
List<Component> stats = getFoodStats(item, context.getItemStack(), context.getEntity());
KeyControlledDesc desc = new KeyControlledDesc(stats, new ArrayList<>(),
GLFW.GLFW_KEY_A, GLFW.GLFW_KEY_LEFT_CONTROL,
"A", "Ctrl",
GLFW.GLFW_KEY_N, GLFW.GLFW_KEY_LEFT_CONTROL,
"N", "Ctrl",
"holdForNutrition", "holdForControls"
);
if (!stats.isEmpty()) {
Expand Down

0 comments on commit 6ea3310

Please sign in to comment.