Skip to content

Commit

Permalink
Update DisconnectedScreenMixin.java (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtnt authored Sep 17, 2024
1 parent bff1084 commit 0e4d493
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ private void addMoreButton(CallbackInfo ci) {
@Override
public void renderBackground(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) {
if (Files.exists(Xibao.getXibaoStopFile())) {
return;
super.renderBackground(guiGraphics, mouseX, mouseY, partialTick);
} else {
((GuiGraphicsAccessor)guiGraphics).invokeInnerBlit(
xibao$LOCATION, 0, this.width, 0, this.height, 0, 0, 1, 0, 1
);
}
((GuiGraphicsAccessor)guiGraphics).invokeInnerBlit(
xibao$LOCATION, 0, this.width, 0, this.height, 0, 0, 1, 0, 1
);
}
}

0 comments on commit 0e4d493

Please sign in to comment.