aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-28 17:29:26 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-28 17:29:26 +0700
commite85b11665a92e8a6bffb11b76b45ee3c97138bd2 (patch)
tree1e85d3673d6511df53b96deb8fc23989cd304722 /src/main/java/cc/polyfrost/oneconfig/test
parent61861be3663dc05883c387070c81eae9154444ef (diff)
downloadOneConfig-e85b11665a92e8a6bffb11b76b45ee3c97138bd2.tar.gz
OneConfig-e85b11665a92e8a6bffb11b76b45ee3c97138bd2.tar.bz2
OneConfig-e85b11665a92e8a6bffb11b76b45ee3c97138bd2.zip
revert funny diamond hud stuff
add ExcludeType again fix INSTANCE field stuff
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java6
1 files changed, 3 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 48ccfb2..c94f5f7 100644
--- a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java
+++ b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java
@@ -1,18 +1,18 @@
package cc.polyfrost.oneconfig.test;
-import cc.polyfrost.oneconfig.hud.TextHud;
+import cc.polyfrost.oneconfig.hud.MultiTextHud;
import com.google.common.collect.Lists;
import net.minecraft.client.Minecraft;
import java.util.List;
-public class TestMultilineHud_Test extends TextHud {
+public class TestMultilineHud_Test extends MultiTextHud {
public TestMultilineHud_Test() {
super(true);
}
@Override
- public List<String> update() {
+ protected List<String> getLines() {
return Lists.newArrayList(String.valueOf(System.currentTimeMillis()), String.valueOf(Minecraft.getSystemTime()));
}
}