Skip to content

Commit

Permalink
fix bug when use R
Browse files Browse the repository at this point in the history
  • Loading branch information
plusls committed Sep 12, 2021
1 parent d71c056 commit 42eb366
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/plusls/ommc/config/Configs.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static class Generic {
static {
OPEN_CONFIG_GUI.getKeybind().setCallback((keyAction, iKeybind) -> {
GuiBase.openGui(new GuiConfigs());
return true;
return false;
});
SEND_LOOKING_AT_BLOCK_POS.getKeybind().setCallback((keyAction, iKeybind) -> {
MinecraftClient client = MinecraftClient.getInstance();
Expand All @@ -88,18 +88,18 @@ public static class Generic {
}
}
}
return true;
return false;
});

CLEAR_WAYPOINT.getKeybind().setCallback((keyAction, iKeybind) -> {
HighlightWaypointUtil.highlightPos = null;
HighlightWaypointUtil.lastBeamTime = 0;
return true;
return false;
});
SORT_INVENTORY.getKeybind().setCallback((keyAction, iKeybind) -> {
SortInventoryUtil.sort();
MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK, 1.0F));
return true;
return false;
});
DEBUG.setValueChangeCallback(config -> {
if (config.getBooleanValue()) {
Expand Down

0 comments on commit 42eb366

Please sign in to comment.