mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-27 13:28:00 +01:00
Fix nested LangBuilder in LangBuilder.forGoggles not inheriting parent namespace
This commit is contained in:
parent
1935b790dd
commit
0b7f103648
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class LangBuilder {
|
|||
}
|
||||
|
||||
public void forGoggles(List<? super MutableComponent> tooltip, int indents) {
|
||||
tooltip.add(Lang.builder()
|
||||
tooltip.add(Lang.builder(namespace)
|
||||
.text(Strings.repeat(' ', getIndents(Minecraft.getInstance().font, 4 + indents)))
|
||||
.add(this)
|
||||
.component());
|
||||
|
|
Loading…
Reference in a new issue