mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-10 20:41:14 +01:00
Add remaining item types to item rewriter implementations (#3931)
This commit is contained in:
parent
01ea51e8ee
commit
1039b8556b
@ -28,7 +28,7 @@ import com.viaversion.viaversion.rewriter.ItemRewriter;
|
||||
public class ItemPacketRewriter1_11_1 extends ItemRewriter<ClientboundPackets1_9_3, ServerboundPackets1_9_3, Protocol1_11To1_11_1> {
|
||||
|
||||
public ItemPacketRewriter1_11_1(Protocol1_11To1_11_1 protocol) {
|
||||
super(protocol, Types.ITEM1_8, null);
|
||||
super(protocol, Types.ITEM1_8, Types.ITEM1_8_SHORT_ARRAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -51,7 +51,7 @@ import java.util.Optional;
|
||||
public class ItemPacketRewriter1_13 extends ItemRewriter<ClientboundPackets1_12_1, ServerboundPackets1_13, Protocol1_12_2To1_13> {
|
||||
|
||||
public ItemPacketRewriter1_13(Protocol1_12_2To1_13 protocol) {
|
||||
super(protocol, Types.ITEM1_8, null, Types.ITEM1_13, null);
|
||||
super(protocol, Types.ITEM1_8, Types.ITEM1_8_SHORT_ARRAY, Types.ITEM1_13, Types.ITEM1_13_SHORT_ARRAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -43,7 +43,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
public class ItemPacketRewriter1_9 extends ItemRewriter<ClientboundPackets1_8, ServerboundPackets1_9, Protocol1_8To1_9> {
|
||||
|
||||
public ItemPacketRewriter1_9(final Protocol1_8To1_9 protocol) {
|
||||
super(protocol, Types.ITEM1_8, null);
|
||||
super(protocol, Types.ITEM1_8, Types.ITEM1_8_SHORT_ARRAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -28,7 +28,7 @@ import com.viaversion.viaversion.rewriter.ItemRewriter;
|
||||
public class ItemPacketRewriter1_10 extends ItemRewriter<ClientboundPackets1_9_3, ServerboundPackets1_9_3, Protocol1_9_3To1_10> {
|
||||
|
||||
public ItemPacketRewriter1_10(Protocol1_9_3To1_10 protocol) {
|
||||
super(protocol, Types.ITEM1_8, null);
|
||||
super(protocol, Types.ITEM1_8, Types.ITEM1_8_SHORT_ARRAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user