File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
client/java/dev/kwak0/toggle_keybinds Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.21.5
7+ minecraft_version =1.21.4
88yarn_mappings =1.21.5+build.1
99loader_version =0.16.14
1010loom_version =1.11-SNAPSHOT
@@ -15,5 +15,5 @@ maven_group=dev.kwak0.toggle_keybinds
1515archives_base_name =toggle-keybinds
1616
1717# Dependencies
18- fabric_version =0.128.2 +1.21.5
19- modmenu_version =14 .0.0-rc.2
18+ fabric_version =0.119.4 +1.21.4
19+ modmenu_version =13 .0.3
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public void toggle(int action) {
4343 MinecraftClient client = MinecraftClient .getInstance ();
4444 if (action == GLFW .GLFW_PRESS && isActive (client ) && client .player != null ) {
4545 PlayerInventory inventory = client .player .getInventory ();
46- if (inventory .getSelectedSlot () != slot1 ) {
46+ if (inventory .selectedSlot != slot1 ) {
4747 inventory .setSelectedSlot (slot1 );
4848 } else {
4949 inventory .setSelectedSlot (slot2 );
Original file line number Diff line number Diff line change 3131 ],
3232 "depends" : {
3333 "fabricloader" : " >=0.16.14" ,
34- "minecraft" : " ~1.21.5 " ,
34+ "minecraft" : " ~1.21.4 " ,
3535 "java" : " >=21" ,
3636 "fabric-api" : " *"
3737 },
3838 "suggested" : {
39- "modmenu" : " 14 .0.0-rc.2 "
39+ "modmenu" : " 13 .0.3 "
4040 }
4141}
You can’t perform that action at this time.
0 commit comments