diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java index e7ba8af..9055862 100644 --- a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java @@ -1,7 +1,6 @@ package cc.polyfrost.oneconfig.test; import cc.polyfrost.oneconfig.hud.TextHud; -import com.google.common.collect.Lists; import net.minecraft.client.Minecraft; import java.util.List; @@ -12,7 +11,9 @@ public class TestMultilineHud_Test extends TextHud { } @Override - protected List<String> getLines() { - return Lists.newArrayList(String.valueOf(System.currentTimeMillis()), String.valueOf(Minecraft.getSystemTime())); + protected void getLines(List<String> lines) { + lines.clear(); + lines.add(String.valueOf(System.currentTimeMillis())); + lines.add(String.valueOf(Minecraft.getSystemTime())); } } |