diff options
Diffstat (limited to 'GuiTest')
-rw-r--r-- | GuiTest/build.gradle | 5 | ||||
-rw-r--r-- | GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/GuiTest/build.gradle b/GuiTest/build.gradle index 02c6d2e..ee1fa3b 100644 --- a/GuiTest/build.gradle +++ b/GuiTest/build.gradle @@ -52,10 +52,7 @@ tasks.withType(JavaCompile) { // this fixes some edge cases with special characters not displaying correctly // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html options.encoding = "UTF-8" - - if (JavaVersion.current().isJava9Compatible()) { - options.release.set 8 - } + options.release.set 16 } java { diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java index 82188d2..d443770 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java @@ -36,7 +36,7 @@ public class GuiBlockEntity extends BlockEntity implements ImplementedInventory, @Override public Text getDisplayName() { - return new LiteralText(""); // no title + return new LiteralText("test title"); } @Nullable |