removed PacketCoordinates from mapped packets, as it's only derived
This commit is contained in:
parent
79c1ad7b7d
commit
8801cdedc9
2 changed files with 16 additions and 17 deletions
|
@ -24,22 +24,21 @@ public class BuildCraftChannelHandler extends FMLIndexedMessageToMessageCodec<Bu
|
|||
public BuildCraftChannelHandler() {
|
||||
addDiscriminator(0, PacketTileUpdate.class);
|
||||
addDiscriminator(1, PacketTileState.class);
|
||||
addDiscriminator(2, PacketCoordinates.class);
|
||||
addDiscriminator(3, PacketFluidUpdate.class);
|
||||
addDiscriminator(4, PacketNBT.class);
|
||||
addDiscriminator(5, PacketPowerUpdate.class);
|
||||
addDiscriminator(6, PacketSlotChange.class);
|
||||
addDiscriminator(7, PacketGuiReturn.class);
|
||||
addDiscriminator(8, PacketGuiWidget.class);
|
||||
addDiscriminator(9, PacketPipeTransportItemStack.class);
|
||||
addDiscriminator(10, PacketPipeTransportItemStackRequest.class);
|
||||
addDiscriminator(11, PacketPipeTransportTraveler.class);
|
||||
addDiscriminator(12, PacketUpdate.class);
|
||||
addDiscriminator(13, PacketRPCTile.class);
|
||||
addDiscriminator(14, PacketRPCPipe.class);
|
||||
addDiscriminator(15, PacketRPCGui.class);
|
||||
addDiscriminator(16, PacketRPCEntity.class);
|
||||
addDiscriminator(17, PacketRPCStatic.class);
|
||||
addDiscriminator(2, PacketFluidUpdate.class);
|
||||
addDiscriminator(3, PacketNBT.class);
|
||||
addDiscriminator(4, PacketPowerUpdate.class);
|
||||
addDiscriminator(5, PacketSlotChange.class);
|
||||
addDiscriminator(6, PacketGuiReturn.class);
|
||||
addDiscriminator(7, PacketGuiWidget.class);
|
||||
addDiscriminator(8, PacketPipeTransportItemStack.class);
|
||||
addDiscriminator(9, PacketPipeTransportItemStackRequest.class);
|
||||
addDiscriminator(10, PacketPipeTransportTraveler.class);
|
||||
addDiscriminator(11, PacketUpdate.class);
|
||||
addDiscriminator(12, PacketRPCTile.class);
|
||||
addDiscriminator(13, PacketRPCPipe.class);
|
||||
addDiscriminator(14, PacketRPCGui.class);
|
||||
addDiscriminator(15, PacketRPCEntity.class);
|
||||
addDiscriminator(16, PacketRPCStatic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -10,7 +10,7 @@ package buildcraft.core.network;
|
|||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class PacketCoordinates extends BuildCraftPacket {
|
||||
public abstract class PacketCoordinates extends BuildCraftPacket {
|
||||
|
||||
public int posX;
|
||||
public int posY;
|
||||
|
|
Loading…
Reference in a new issue