SignBlockEntityMixin cleanup

This commit is contained in:
dfsek
2021-05-04 16:10:37 -07:00
parent 4c77419dcd
commit 6866084872
@@ -23,12 +23,11 @@ public abstract class SignBlockEntityMixin {
private Text[] text; private Text[] text;
public @NotNull String[] terra$getLines() { public @NotNull String[] terra$getLines() {
return new String[] { String[] lines = new String[text.length];
terra$getLine(0), for(int i = 0; i < text.length; i++) {
terra$getLine(1), lines[i] = text[i].asString();
terra$getLine(2), }
terra$getLine(3) return lines;
};
} }
public @NotNull String terra$getLine(int index) throws IndexOutOfBoundsException { public @NotNull String terra$getLine(int index) throws IndexOutOfBoundsException {