Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Athar42 committed Nov 4, 2023
1 parent d61d72e commit 5668f6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
@Mixin(CartographyTableScreen.class)
public class CartographyTableScreenTabAdder {
@Inject(method = "drawBackground", at = @At(value = "INVOKE", shift = At.Shift.AFTER, target = "Lnet/minecraft/client/gui/screen/ingame/CartographyTableScreen;renderBackground(Lnet/minecraft/client/gui/DrawContext;)V"))
/** protected void drawBackgroundTabs(DrawContext context, float delta, int mouseX, int mouseY, CallbackInfo ci) {
* MinecraftClient client = MinecraftClient.getInstance();
* TabManager tabManager = ((TabManagerContainer) client).getTabManager();
*
* tabManager.tabRenderer.renderBackground(context);
* }
*/
protected void drawBackgroundTabs(DrawContext context, float delta, int mouseX, int mouseY, CallbackInfo ci) {
MinecraftClient client = MinecraftClient.getInstance();
TabManager tabManager = ((TabManagerContainer) client).getTabManager();

tabManager.tabRenderer.renderBackground(context);
}
}

0 comments on commit 5668f6b

Please sign in to comment.