3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-05 01:31:05 +02:00

Fix itemArrayType of ItemRewriter on dev branch (#3398)

Dieser Commit ist enthalten in:
riku6460 2023-08-09 06:38:24 +09:00 committet von GitHub
Ursprung 9c92ccea77
Commit d954e1745d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -35,7 +35,7 @@ public abstract class ItemRewriter<C extends ClientboundPacketType, S extends Se
private final Type<Item[]> itemArrayType;
protected ItemRewriter(T protocol) {
this(protocol, Type.FLAT_VAR_INT_ITEM, Type.FLAT_VAR_INT_ITEM_ARRAY);
this(protocol, Type.FLAT_VAR_INT_ITEM, Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT);
}
public ItemRewriter(T protocol, Type<Item> itemType, Type<Item[]> itemArrayType) {