Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Return generic Item array in StructuredItem#emptyArray (#3955)
Dieser Commit ist enthalten in:
Ursprung
3d083cf463
Commit
c098e24c4f
@ -46,8 +46,8 @@ public class StructuredItem implements Item {
|
|||||||
return new StructuredItem(0, 0);
|
return new StructuredItem(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static StructuredItem[] emptyArray(final int size) {
|
public static Item[] emptyArray(final int size) {
|
||||||
final StructuredItem[] items = new StructuredItem[size];
|
final Item[] items = new Item[size];
|
||||||
for (int i = 0; i < items.length; i++) {
|
for (int i = 0; i < items.length; i++) {
|
||||||
items[i] = empty();
|
items[i] = empty();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren