3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 13:52:50 +02:00
Dieser Commit ist enthalten in:
Gerrygames 2018-10-22 11:29:22 +02:00
Ursprung 2f11268dcc
Commit 0b7e438128

Datei anzeigen

@ -44,6 +44,13 @@ public class Protocol1_13_1To1_13 extends Protocol {
public void registerMap() {
map(Type.FLAT_ITEM);
map(Type.BOOLEAN);
handler(new PacketHandler() {
@Override
public void handle(PacketWrapper wrapper) throws Exception {
Item item = wrapper.get(Type.FLAT_ITEM, 0);
InventoryPackets.toServer(item);
}
});
handler(new PacketHandler() {
@Override
public void handle(PacketWrapper wrapper) throws Exception {