Skip to content

Commit 0c3fc8b

Browse files
authored
Allow LangKeys to work when MC is loading (#159)
1 parent c2b7495 commit 0c3fc8b

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/cleanroommc/modularui/drawable/text

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/drawable/text/LangKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class LangKey extends BaseKey {
1515
private final Supplier<String> keySupplier;
1616
private final Supplier<Object[]> argsSupplier;
1717
private String string;
18-
private long time = 0;
18+
private long time = -1;
1919

2020
public LangKey(@NotNull String key) {
2121
this(key, () -> null);

0 commit comments

Comments
 (0)