Skip to content

Commit

Permalink
Merge pull request #81 from fzzyhmstrs/main
Browse files Browse the repository at this point in the history
Remove IconicButtons init
  • Loading branch information
Motschen authored Jan 26, 2025
2 parents 4c78e26 + 27be58d commit f78ba31
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public MixinPressableWidget(int x, int y, int width, int height, Text message) {
@Inject(at = @At("TAIL"), method = "<init>")
private void iconic$onInitButton(int i, int j, int k, int l, Text text, CallbackInfo ci) {
visualoverhaul$iconicButtons = new IconicButtons();
visualoverhaul$iconicButtons.init(this);
}

@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/widget/PressableWidget;drawMessage(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;I)V", shift = At.Shift.BEFORE), method = "renderWidget")
Expand Down

0 comments on commit f78ba31

Please sign in to comment.