remove unused packet
This commit is contained in:
@@ -78,7 +78,6 @@ public enum State {
|
|||||||
.put(0x0E, PlayerPositionAndLookPacket.class)
|
.put(0x0E, PlayerPositionAndLookPacket.class)
|
||||||
.put(0x0F, PlayerLookPacket.class)
|
.put(0x0F, PlayerLookPacket.class)
|
||||||
.put(0x13, PlayerAbilitiesPacket.class)
|
.put(0x13, PlayerAbilitiesPacket.class)
|
||||||
.put(0x1A, HeldItemChangePacket.class)
|
|
||||||
.build(),
|
.build(),
|
||||||
ImmutableMap.<Class<? extends SCPacket>, Integer>builder()
|
ImmutableMap.<Class<? extends SCPacket>, Integer>builder()
|
||||||
.put(BossBarPacket.class, 0x0C)
|
.put(BossBarPacket.class, 0x0C)
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
package mc.core.network.proto_1_12_2.packets.clientside;
|
|
||||||
|
|
||||||
import mc.core.network.CSPacket;
|
|
||||||
import mc.core.network.NetInputStream;
|
|
||||||
|
|
||||||
public class HeldItemChangePacket implements CSPacket {
|
|
||||||
private int slot;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void readSelf(NetInputStream netStream) {
|
|
||||||
this.slot = netStream.readShort();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user