Skip to content

Commit

Permalink
Merge pull request #242 from MODKILLER1001/1.19.2-Fabric
Browse files Browse the repository at this point in the history
Fixing typo
  • Loading branch information
Aizistral committed Oct 27, 2022
2 parents c0f2fe2 + 12b6925 commit 205917c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -40,7 +40,7 @@
public abstract class MixinJoinMultiplayerScreen extends Screen {
private static final ResourceLocation RELOAD_TEXTURE = new ResourceLocation("nochatreports", "textures/gui/config_reload_button.png"),
TOGGLE_TEXTURE = new ResourceLocation("nochatreports", "textures/gui/ncr_toggle_button.png");
private static final Component RELOAD_TOOLTIP = Component.translatable("gui.nochatrepords.reload_config_tooltip");
private static final Component RELOAD_TOOLTIP = Component.translatable("gui.nochatreports.reload_config_tooltip");

protected MixinJoinMultiplayerScreen() {
super(null);
Expand All @@ -53,7 +53,7 @@ private void onInit(CallbackInfo info) {
var button = new ImageButton(this.width/2 + 158, this.height - 52, 20, 20, 0, 0, 20,
RELOAD_TEXTURE, 64, 64, btn -> NCRConfig.load(), (btn, poseStack, i, j) ->
this.renderTooltipNoGap(poseStack, this.minecraft.font.split(RELOAD_TOOLTIP, 250), i, j),
Component.translatable("gui.nochatrepords.reload_config"));
Component.translatable("gui.nochatreports.reload_config"));
button.active = true;
button.visible = true;
this.addRenderableWidget(button);
Expand Down

0 comments on commit 205917c

Please sign in to comment.