diff --git a/src/main/java/dev/hephaestus/glowcase/client/gui/screen/ingame/HyperlinkBlockEditScreen.java b/src/main/java/dev/hephaestus/glowcase/client/gui/screen/ingame/HyperlinkBlockEditScreen.java index db8fd90..e76dd6c 100644 --- a/src/main/java/dev/hephaestus/glowcase/client/gui/screen/ingame/HyperlinkBlockEditScreen.java +++ b/src/main/java/dev/hephaestus/glowcase/client/gui/screen/ingame/HyperlinkBlockEditScreen.java @@ -25,8 +25,8 @@ public void init() { if (this.client == null) return; this.urlEntryWidget = new TextFieldWidget(this.client.textRenderer, width / 10, height / 2 - 10, 8 * width / 10, 20, Text.empty()); - this.urlEntryWidget.setText(this.hyperlinkBlockEntity.getUrl()); this.urlEntryWidget.setMaxLength(Integer.MAX_VALUE); + this.urlEntryWidget.setText(this.hyperlinkBlockEntity.getUrl()); this.addDrawableChild(this.urlEntryWidget); }