Fix itemArrayType of ItemRewriter on dev branch (#3398)

This commit is contained in:
riku6460 2023-08-09 06:38:24 +09:00 committed by GitHub
parent 9c92ccea77
commit d954e1745d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {