소스 검색

Change method name

Lortseam 4 년 전
부모
커밋
10f6fbefa3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/me/lortseam/uglyscoreboardfix/mixin/InGameHudMixin.java

+ 1 - 1
src/main/java/me/lortseam/uglyscoreboardfix/mixin/InGameHudMixin.java

@@ -20,7 +20,7 @@ public abstract class InGameHudMixin {
     private int xShift;
 
     @Inject(method = "renderScoreboardSidebar", at = @At("HEAD"), cancellable = true)
-    private void uglyscoreboardfix$modifySidebar(MatrixStack matrices, ScoreboardObjective objective, CallbackInfo ci) {
+    private void uglyscoreboardfix$hide(MatrixStack matrices, ScoreboardObjective objective, CallbackInfo ci) {
         if (Config.sidebar.hiding.shouldHide(HidePart.SIDEBAR, objective)) {
             ci.cancel();
         }