public IPacketWithSize ReadPacket(IMinecraftDataReader reader) { BlockToHold = reader.ReadByte(); PreventChange = (PreventChange) reader.ReadByte(); return this; }
public IPacketWithSize ReadPacket(IProtocolDataReader reader) { BlockToHold = reader.ReadByte(); PreventChange = (PreventChange)reader.ReadByte(); return(this); }