mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
SignBlockEntityMixin cleanup
This commit is contained in:
+5
-6
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user